| commit | 0049a1bf3f8bae3a10cfeff38aefce215bf1298b | [log] [tgz] |
|---|---|---|
| author | Irfan Sheriff <isheriff@google.com> | Thu Jan 14 12:37:49 2010 -0800 |
| committer | Irfan Sheriff <isheriff@google.com> | Thu Jan 28 11:27:14 2010 -0800 |
| tree | 7153232b780840367b5ca29b08f8d66d3633520d | |
| parent | 5f551ef6a8b6a4f158d8b3ad9591d2f874c89f39 [diff] [blame] |
Blacklist APs instead of disable We currently disable networks upon too many reconnects. This leads to asking the user input for reconnects. Blacklist it instead. Bug: 2129037 Change-Id: I23d69daf3964c066ed7f70d32fefb81016f19aa2
diff --git a/services/java/com/android/server/WifiWatchdogService.java b/services/java/com/android/server/WifiWatchdogService.java index 9443a95..f2347ed 100644 --- a/services/java/com/android/server/WifiWatchdogService.java +++ b/services/java/com/android/server/WifiWatchdogService.java
@@ -739,6 +739,8 @@ // Black list this "bad" AP, this will cause an attempt to connect to another blacklistAp(ap.bssid); + // Initiate an association to an alternate AP + mWifiStateTracker.reassociate(); } private void blacklistAp(String bssid) {