Select any available wireless network in findAccessPointByBSSID

This resolves Bug 1496
pull/16/head
Timothy Pearson 12 years ago
parent 47c56ecaf4
commit efda5c30fc

@ -1089,7 +1089,10 @@ TDENetworkWiFiAPInfo* TDEGlobalNetworkManager::findAccessPointByBSSID(TDEMACAddr
TDENetworkDevice* dev = dynamic_cast<TDENetworkDevice*>(*it);
if (dev) {
TDENetworkConnectionManager* deviceConnMan = dev->connectionManager();
ret = deviceConnMan->findAccessPointByBSSID(bssid);
TDENetworkWiFiAPInfo* candidate = deviceConnMan->findAccessPointByBSSID(bssid);
if (candidate) {
ret = candidate;
}
}
}

Loading…
Cancel
Save