summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi Joshi <ravij@codeaurora.org>2015-11-02 20:43:52 -0800
committerSteve Kondik <steve@cyngn.com>2016-05-18 14:31:40 -0700
commit65ccde9d3ed1c6d8558f35b9e7a124d966a34eed (patch)
treef9b5d8aa2f2b265299bfc7bdff30174638ece655
parente848c982ea10df2cfa4207817b38ba17ab2f3b64 (diff)
downloadframeworks_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.java6
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 = "";