diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/bearer/nativewifi/qnativewifiengine.cpp | 5 |
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); |