Merge "fix interfaceflags for softap"

This commit is contained in:
Irfan Sheriff
2010-10-29 09:58:00 -07:00
committed by Android (Google) Code Review

View File

@@ -368,7 +368,7 @@ public class WifiService extends IWifiManager.Stub {
/* IP/netmask: 192.168.43.1/255.255.255.0 */
ifcg.ipAddr = (192 << 24) + (168 << 16) + (43 << 8) + 1;
ifcg.netmask = (255 << 24) + (255 << 16) + (255 << 8) + 0;
ifcg.interfaceFlags = "up";
ifcg.interfaceFlags = "[up]";
service.setInterfaceConfig(intf, ifcg);
}