summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer
diff options
context:
space:
mode:
authorMartin Petersson <martin.petersson@nokia.com>2011-04-18 12:47:55 (GMT)
committerMartin Petersson <martin.petersson@nokia.com>2011-04-18 12:47:55 (GMT)
commitb0a01659ee47752d905b2c30bf9027ced8b1f86c (patch)
treeb38c2aaf90799a2f60f82e9407d42c3baca021b0 /src/plugins/bearer
parent56c0278fd5035d358340724c2ed9969d5332b313 (diff)
downloadQt-b0a01659ee47752d905b2c30bf9027ced8b1f86c.zip
Qt-b0a01659ee47752d905b2c30bf9027ced8b1f86c.tar.gz
Qt-b0a01659ee47752d905b2c30bf9027ced8b1f86c.tar.bz2
Revert "QNativeWifiEngine: Fix problem with wifi polling on Windows"
This reverts commit 2e7e8a2b805b868eade36cc44fa14bf8ca2f8c2f. This broke the QNetworkconfigurationManager auto tests. Reviewed-by: Peter Hartmann
Diffstat (limited to 'src/plugins/bearer')
-rw-r--r--src/plugins/bearer/nativewifi/qnativewifiengine.cpp5
1 files changed, 0 insertions, 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);