diff options
author | Jan Nordqvist <jannq@google.com> | 2015-07-31 16:39:07 -0700 |
---|---|---|
committer | Jan Nordqvist <jannq@google.com> | 2015-07-31 16:39:07 -0700 |
commit | 42a1bf5e9b21288524d9a5fe90556abefc035879 (patch) | |
tree | e606bb593c1892729a6cf21f400d65067f61f329 | |
parent | 017fabff2169403c27e551b39e87d3b2cd837409 (diff) | |
download | wifi-42a1bf5e9b21288524d9a5fe90556abefc035879.tar.gz |
Failed ANQP responses incorrectly stored as empty data in ANQP cache.
Bug: 22882190
Change-Id: I2793247027579f07301bfc206800827a46af8c4e
-rw-r--r-- | service/java/com/android/server/wifi/hotspot2/SupplicantBridge.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/hotspot2/SupplicantBridge.java b/service/java/com/android/server/wifi/hotspot2/SupplicantBridge.java index 1b15529cb..40b622366 100644 --- a/service/java/com/android/server/wifi/hotspot2/SupplicantBridge.java +++ b/service/java/com/android/server/wifi/hotspot2/SupplicantBridge.java @@ -111,7 +111,7 @@ public class SupplicantBridge { Map<Constants.ANQPElementType, ANQPElement> elements = parseWPSData(bssData); Log.d(Utils.hs2LogTag(getClass()), String.format("%s ANQP response for %012x: %s", success ? "successful" : "failed", bssid, elements)); - mConfigStore.notifyANQPResponse(scanDetail, elements); + mConfigStore.notifyANQPResponse(scanDetail, success ? elements : null); } catch (IOException ioe) { Log.e(Utils.hs2LogTag(getClass()), "Failed to parse ANQP: " + |