summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi Joshi <ravij@codeaurora.org>2015-06-29 11:52:36 -0700
committerxinhe <xinhe@google.com>2015-07-01 17:51:43 -0700
commit593e8da3df2cab19b6b6dab041322e2e7002b64b (patch)
treeb8582f0a5402ab7326d4861a97489ed3edf1f735
parent61d7acae0cafc265e94a35ad3ba1677f60346de9 (diff)
downloadframeworks_base-593e8da3df2cab19b6b6dab041322e2e7002b64b.zip
frameworks_base-593e8da3df2cab19b6b6dab041322e2e7002b64b.tar.gz
frameworks_base-593e8da3df2cab19b6b6dab041322e2e7002b64b.tar.bz2
wifi: Fix softAP turn-ON issue in statically loaded driver
SoftAP fails to turn-ON on some statically loaded driver models in which the network interfaces are not available until the firmware is reloaded in the AP mode. This change provides the fix to load the firmware earlier in the softAP start sequence to make wlan0 interface available. b/22236507 Change-Id: If2c4b28c704bc6e5acb2be70d5d9d84d6e98f747
-rw-r--r--services/core/java/com/android/server/NetworkManagementService.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/NetworkManagementService.java b/services/core/java/com/android/server/NetworkManagementService.java
index 7afb192..0e3134d 100644
--- a/services/core/java/com/android/server/NetworkManagementService.java
+++ b/services/core/java/com/android/server/NetworkManagementService.java
@@ -1473,7 +1473,6 @@ public class NetworkManagementService extends INetworkManagementService.Stub
WifiConfiguration wifiConfig, String wlanIface) {
mContext.enforceCallingOrSelfPermission(CONNECTIVITY_INTERNAL, TAG);
try {
- wifiFirmwareReload(wlanIface, "AP");
if (wifiConfig == null) {
mConnector.execute("softap", "set", wlanIface);
} else {