summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2012-10-23 10:22:13 -0700
committerIrfan Sheriff <isheriff@google.com>2012-10-23 10:36:51 -0700
commite6464af00033370730e530e4d5402cd049768014 (patch)
tree514992e7474c5b37dbfbf1632e1a8fc765e02d1b /wifi
parent9823723d0f0bb47dfd3a6b251d7155dc1eb0918b (diff)
downloadframeworks_base-e6464af00033370730e530e4d5402cd049768014.zip
frameworks_base-e6464af00033370730e530e4d5402cd049768014.tar.gz
frameworks_base-e6464af00033370730e530e4d5402cd049768014.tar.bz2
Fix driver stop handling
Defer supplicant state change event so we do not miss it Bug: 7394390 Change-Id: Ibae6cef6be42a6cb45dc20ba4fa5060d8e459217
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiStateMachine.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java
index fd76fc8..040ff24 100644
--- a/wifi/java/android/net/wifi/WifiStateMachine.java
+++ b/wifi/java/android/net/wifi/WifiStateMachine.java
@@ -2940,6 +2940,7 @@ public class WifiStateMachine extends StateMachine {
transitionTo(mTransitionToState);
break;
/* Defer wifi start/shut and driver commands */
+ case WifiMonitor.SUPPLICANT_STATE_CHANGE_EVENT:
case CMD_LOAD_DRIVER:
case CMD_UNLOAD_DRIVER:
case CMD_START_SUPPLICANT: