summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRockchip2015-06-17 21:07:50 +0800
committerRockchip2015-06-17 21:08:26 +0800
commita3c008f4190004eac9e78c91b806096be923d01e (patch)
tree38c7a366755c3acf4205116cf5ee5599eb9ea4e4
parentc7cc286ee6934d641424f16d623c26e2a1bd118f (diff)
workaround wifi connect ap slow when bootup, the probelm caused by slower braodcast boot complete intent
-rw-r--r--service/java/com/android/server/wifi/WifiStateMachine.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/WifiStateMachine.java b/service/java/com/android/server/wifi/WifiStateMachine.java
index 04fc6c1..ffd608f 100644
--- a/service/java/com/android/server/wifi/WifiStateMachine.java
+++ b/service/java/com/android/server/wifi/WifiStateMachine.java
@@ -5060,6 +5060,7 @@ public class WifiStateMachine extends StateMachine {
logStateAndMessage(message, getClass().getSimpleName());
switch (message.what) {
case CMD_START_SUPPLICANT:
+ maybeRegisterNetworkFactory();
if (mWifiNative.loadDriver()) {
try {
mNwService.wifiFirmwareReload(mInterfaceName, "STA");