softap: Match new config format
Change-Id: Ic83a73678149aa56069c4a13d87e38de66243aa3 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
@@ -1000,7 +1000,7 @@ public class NetworkManagementService extends INetworkManagementService.Stub
|
||||
mConnector.execute("softap", "set", wlanIface);
|
||||
} else {
|
||||
mConnector.execute("softap", "set", wlanIface, wifiConfig.SSID,
|
||||
"broadcast", getSecurityType(wifiConfig),
|
||||
"broadcast", "6", getSecurityType(wifiConfig),
|
||||
new SensitiveArg(wifiConfig.preSharedKey));
|
||||
}
|
||||
mConnector.execute("softap", "startap");
|
||||
@@ -1050,7 +1050,7 @@ public class NetworkManagementService extends INetworkManagementService.Stub
|
||||
mConnector.execute("softap", "set", wlanIface);
|
||||
} else {
|
||||
mConnector.execute("softap", "set", wlanIface, wifiConfig.SSID,
|
||||
"broadcast", getSecurityType(wifiConfig),
|
||||
"broadcast", "6", getSecurityType(wifiConfig),
|
||||
new SensitiveArg(wifiConfig.preSharedKey));
|
||||
}
|
||||
} catch (NativeDaemonConnectorException e) {
|
||||
|
||||
Reference in New Issue
Block a user