[WSD] Remove socket from connection map upon connection
[mirror/winof/.git] / ulp / wsd / user / ib_cm.c
index b77376a..d620fa5 100644 (file)
@@ -454,6 +454,7 @@ cm_rej_callback(
        case IBSP_DUPLICATING_NEW:\r
                /* Leave in that state. IBSPSocket will eventually return \r
                 * an error becaus the socket is not connected. */\r
+               ibsp_conn_remove( socket_info );\r
                SetEvent( socket_info->h_event );\r
                break;\r
 \r