summaryrefslogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-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 = "";