diff options
author | Ravi Joshi <ravij@codeaurora.org> | 2015-11-02 20:43:52 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-05-18 14:31:40 -0700 |
commit | 65ccde9d3ed1c6d8558f35b9e7a124d966a34eed (patch) | |
tree | f9b5d8aa2f2b265299bfc7bdff30174638ece655 | |
parent | e848c982ea10df2cfa4207817b38ba17ab2f3b64 (diff) | |
download | frameworks_opt_net_wifi-65ccde9d3ed1c6d8558f35b9e7a124d966a34eed.tar.gz frameworks_opt_net_wifi-65ccde9d3ed1c6d8558f35b9e7a124d966a34eed.tar.bz2 frameworks_opt_net_wifi-65ccde9d3ed1c6d8558f35b9e7a124d966a34eed.zip |
wifi: Fix for re-association failure (auto join)
The getNetID function may return INVALID_NETWORK_ID, however
that need not stop the auto join procedure.
Change-Id: Ib3d18c1662d7204ec76b07e69d932e288ea615d5
CRs-Fixed: 934125
-rw-r--r-- | service/java/com/android/server/wifi/WifiAutoJoinController.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/service/java/com/android/server/wifi/WifiAutoJoinController.java b/service/java/com/android/server/wifi/WifiAutoJoinController.java index 58e15a0..e525949 100644 --- a/service/java/com/android/server/wifi/WifiAutoJoinController.java +++ b/service/java/com/android/server/wifi/WifiAutoJoinController.java @@ -1533,12 +1533,6 @@ public class WifiAutoJoinController { // Find the currently connected network: ask the supplicant directly int supplicantNetId = getNetID(mWifiNative.status(true)); - if (supplicantNetId == WifiConfiguration.INVALID_NETWORK_ID) { - if (VDBG) { - logDbg("attemptAutoJoin getNetID returned invalid supplicantNetId"); - } - return false; - } if (DBG) { String conf = ""; |