summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiScoreCard.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiScoreCard.java b/service/java/com/android/server/wifi/WifiScoreCard.java
index e7a8715cf..22bd1b1ba 100644
--- a/service/java/com/android/server/wifi/WifiScoreCard.java
+++ b/service/java/com/android/server/wifi/WifiScoreCard.java
@@ -549,6 +549,9 @@ public class WifiScoreCard {
} catch (IllegalArgumentException e) {
return mDummyPerBssid;
}
+ if (mac.equals(mDummyPerBssid.bssid)) {
+ return mDummyPerBssid;
+ }
PerBssid ans = mApForBssid.get(mac);
if (ans == null || !ans.ssid.equals(ssid)) {
ans = new PerBssid(ssid, mac);