Bug 520315 - Wifi scanning fails on the n900 device. r=biesinger

This commit is contained in:
Doug Turner 2009-10-03 08:33:05 -07:00
parent c9f547d402
commit 391f579b86

View File

@ -128,8 +128,11 @@ nsWifiMonitor::DoScan()
if (!iwlib_handle) {
iwlib_handle = dlopen("libiw.so.29", RTLD_NOW);
if (!iwlib_handle) {
LOG(("Could not load libiw\n"));
return NS_ERROR_NOT_AVAILABLE;
iwlib_handle = dlopen("libiw.so.30", RTLD_NOW);
if (!iwlib_handle) {
LOG(("Could not load libiw\n"));
return NS_ERROR_NOT_AVAILABLE;
}
}
}
else {