diff options
author | Irfan Sheriff <isheriff@google.com> | 2011-08-31 11:35:26 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-31 11:35:26 -0700 |
commit | 329b79713c06944c02a431081e75ef5e1862d32f (patch) | |
tree | 66431401bed760e667a90b620843dfe6375858a6 /wifi/java/android/net | |
parent | 1123de96b15b0ef8d4e9f50d8c3206ef91557e80 (diff) | |
parent | e36fcea8cdad6ed654079a34104795b2fbf5d2a2 (diff) | |
download | frameworks_base-329b79713c06944c02a431081e75ef5e1862d32f.zip frameworks_base-329b79713c06944c02a431081e75ef5e1862d32f.tar.gz frameworks_base-329b79713c06944c02a431081e75ef5e1862d32f.tar.bz2 |
Merge "Reload STA firmware on start"
Diffstat (limited to 'wifi/java/android/net')
-rw-r--r-- | wifi/java/android/net/wifi/WifiStateMachine.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiStateMachine.java b/wifi/java/android/net/wifi/WifiStateMachine.java index 4fc5e08..d116e5b 100644 --- a/wifi/java/android/net/wifi/WifiStateMachine.java +++ b/wifi/java/android/net/wifi/WifiStateMachine.java @@ -1911,6 +1911,12 @@ public class WifiStateMachine extends StateMachine { transitionTo(mDriverUnloadingState); break; case CMD_START_SUPPLICANT: + try { + mNwService.wifiFirmwareReload(mInterfaceName, "STA"); + } catch (Exception e) { + Log.e(TAG, "Failed to reload STA firmware " + e); + // continue + } //A runtime crash can leave the interface up and //this affects connectivity when supplicant starts up. //Ensure interface is down before a supplicant start. |