Bug 821539 - Don't expose ad-hoc networks in the regular network list. r=vchang

This commit is contained in:
Blake Kaplan 2012-12-13 17:16:18 -08:00
parent a22a349cdd
commit 56b8bc0402

View File

@ -2037,6 +2037,10 @@ function WifiWorker() {
signalLevel = match[3],
flags = match[4];
// Skip ad-hoc networks which aren't supported (bug 811635).
if (flags.indexOf("[IBSS]") >= 0)
continue;
// If this is the first time that we've seen this SSID in the scan
// results, add it to the list along with any other information.
// Also, we use the highest signal strength that we see.