diff options
author | sunil duttu <duttus@codeaurora.org> | 2013-04-30 17:23:25 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2013-04-30 17:23:25 -0700 |
commit | e325e416d65bdc1f7b17d584dfd1c463d07ed5ba (patch) | |
tree | d2b4f42650330e060d747874a5674985f86b0be8 /wifi | |
parent | 9af61ff66a799b8065d7cc5c4882178827a0061f (diff) | |
download | frameworks_base-e325e416d65bdc1f7b17d584dfd1c463d07ed5ba.zip frameworks_base-e325e416d65bdc1f7b17d584dfd1c463d07ed5ba.tar.gz frameworks_base-e325e416d65bdc1f7b17d584dfd1c463d07ed5ba.tar.bz2 |
framework: When turn off of SoftAp immediately call turning ON SoftAp
Due to sub system restart, there is state change of softAp tether state
machine in tethered state triggering turnoff SoftAp this should be
follwed by turnon softap.
Change-Id: I7fbc87ff270d0d720f06ae3697a1ce81f8444ee0
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/java/android/net/wifi/WifiStateMachine.java | 1 |
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 9cae2cb..995ef50 100644 --- a/wifi/java/android/net/wifi/WifiStateMachine.java +++ b/wifi/java/android/net/wifi/WifiStateMachine.java @@ -3598,6 +3598,7 @@ public class WifiStateMachine extends StateMachine { if (!isWifiTethered(stateChange.active)) { loge("Tethering reports wifi as untethered!, shut down soft Ap"); setHostApRunning(null, false); + setHostApRunning(null, true); } return HANDLED; case CMD_STOP_AP: |