OSDN Git Service

wifi: get interface name from wlan.interface
authorChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 1 Sep 2011 06:41:36 +0000 (14:41 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 25 Sep 2013 02:45:38 +0000 (10:45 +0800)
services/java/com/android/server/wifi/WifiService.java

index a70978e..36b19fe 100644 (file)
@@ -221,7 +221,7 @@ public final class WifiService extends IWifiManager.Stub {
     public WifiService(Context context) {
         mContext = context;
 
-        mInterfaceName =  SystemProperties.get("wifi.interface", "wlan0");
+        mInterfaceName = SystemProperties.get("wlan.interface", "wlan0");
 
         mWifiStateMachine = new WifiStateMachine(mContext, mInterfaceName);
         mWifiStateMachine.enableRssiPolling(true);