From 593e8da3df2cab19b6b6dab041322e2e7002b64b Mon Sep 17 00:00:00 2001 From: Ravi Joshi Date: Mon, 29 Jun 2015 11:52:36 -0700 Subject: [PATCH] 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 --- .../core/java/com/android/server/NetworkManagementService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/services/core/java/com/android/server/NetworkManagementService.java b/services/core/java/com/android/server/NetworkManagementService.java index 7afb192794f08..0e3134d55fea9 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 {