- Update to r53061
[reactos.git] / base / services / wlansvc / wlansvc.c
index 5f0e1e6..721dd0f 100644 (file)
@@ -75,6 +75,7 @@ ServiceControlHandler(DWORD dwControl,
         case SERVICE_CONTROL_STOP:
             UpdateServiceStatus(ServiceStatusHandle, SERVICE_STOP_PENDING, 1);
             RpcMgmtStopServerListening(NULL);
+            UpdateServiceStatus(ServiceStatusHandle, SERVICE_STOPPED, 0);
             break;
         case SERVICE_CONTROL_INTERROGATE:
             return NO_ERROR;