From b0a01659ee47752d905b2c30bf9027ced8b1f86c Mon Sep 17 00:00:00 2001 From: Martin Petersson Date: Mon, 18 Apr 2011 14:47:55 +0200 Subject: Revert "QNativeWifiEngine: Fix problem with wifi polling on Windows" This reverts commit 2e7e8a2b805b868eade36cc44fa14bf8ca2f8c2f. This broke the QNetworkconfigurationManager auto tests. Reviewed-by: Peter Hartmann --- src/plugins/bearer/nativewifi/qnativewifiengine.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/plugins/bearer/nativewifi/qnativewifiengine.cpp b/src/plugins/bearer/nativewifi/qnativewifiengine.cpp index d5beeff..16c2239 100644 --- a/src/plugins/bearer/nativewifi/qnativewifiengine.cpp +++ b/src/plugins/bearer/nativewifi/qnativewifiengine.cpp @@ -501,11 +501,6 @@ void QNativeWifiEngine::requestUpdate() return; } - if (interfaceList->dwNumberOfItems == 0) { - local_WlanFreeMemory(interfaceList); - return; - } - bool requested = false; for (unsigned int i = 0; i < interfaceList->dwNumberOfItems; ++i) { result = local_WlanScan(handle, &interfaceList->InterfaceInfo[i].InterfaceGuid, 0, 0, 0); -- cgit v0.12