diff options
author | sunil duttu <duttus@codeaurora.org> | 2013-03-06 10:03:20 +0530 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2013-04-30 13:56:17 -0700 |
commit | aff3bd69d35a959c8139ef45f104d5d3d0f9bf46 (patch) | |
tree | 265ec3beb0023299e6e82aefcd780f7b07e32827 /wifi | |
parent | e3f2735fcfd8dafd226200d5cf219a6f82c9cc0c (diff) | |
download | frameworks_base-aff3bd69d35a959c8139ef45f104d5d3d0f9bf46.zip frameworks_base-aff3bd69d35a959c8139ef45f104d5d3d0f9bf46.tar.gz frameworks_base-aff3bd69d35a959c8139ef45f104d5d3d0f9bf46.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: I93051f17bcaae72ae0694f1f23557cc1d3bea280
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 2d9cc29..2ab59e3 100644 --- a/wifi/java/android/net/wifi/WifiStateMachine.java +++ b/wifi/java/android/net/wifi/WifiStateMachine.java @@ -3983,6 +3983,7 @@ public class WifiStateMachine extends StateMachine { if (!isWifiTethered(stateChange.active)) { loge("Tethering reports wifi as untethered!, shut down soft Ap"); setWifiApEnabled(null, false); + setWifiApEnabled(null, true); } return HANDLED; case CMD_STOP_AP: |