diff options
author | Etan Cohen <etancohen@google.com> | 2017-02-02 04:51:58 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-02-02 04:51:59 +0000 |
commit | 538f0fbf836bfdd75839333c741fc90d3fd0579c (patch) | |
tree | 1c4491d274e4960550373a1338a31394586cbfd7 /service | |
parent | d84fd37259c6e956d0f00c261f573dfa319acb91 (diff) | |
parent | c9a6c7b295e35415a61e3de6bf75f846a4aca048 (diff) |
Merge "[HAL Device Manager] Fix validation bug due to object comparison"
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/HalDeviceManager.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/service/java/com/android/server/wifi/HalDeviceManager.java b/service/java/com/android/server/wifi/HalDeviceManager.java index 24cc806ec..9d5648044 100644 --- a/service/java/com/android/server/wifi/HalDeviceManager.java +++ b/service/java/com/android/server/wifi/HalDeviceManager.java @@ -978,8 +978,7 @@ public class HalDeviceManager { boolean matchFound = false; for (WifiIfaceInfo ifaceInfo: ifaceInfoList) { - if (ifaceInfo.name.equals(entry.getValue().name) - && ifaceInfo.iface == entry.getKey()) { + if (ifaceInfo.name.equals(entry.getValue().name)) { matchFound = true; break; } |