softap: Set broadcast option explicitly
Change-Id: I3f045b5427e68223d0b0be995d3d8c00a9ad21bc Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
This commit is contained in:
@@ -990,7 +990,8 @@ public class NetworkManagementService extends INetworkManagementService.Stub
|
||||
mConnector.execute("softap", "set", wlanIface);
|
||||
} else {
|
||||
mConnector.execute("softap", "set", wlanIface, wifiConfig.SSID,
|
||||
getSecurityType(wifiConfig), wifiConfig.preSharedKey);
|
||||
"broadcast", getSecurityType(wifiConfig),
|
||||
wifiConfig.preSharedKey);
|
||||
}
|
||||
mConnector.execute("softap", "startap");
|
||||
} catch (NativeDaemonConnectorException e) {
|
||||
@@ -1039,7 +1040,8 @@ public class NetworkManagementService extends INetworkManagementService.Stub
|
||||
mConnector.execute("softap", "set", wlanIface);
|
||||
} else {
|
||||
mConnector.execute("softap", "set", wlanIface, wifiConfig.SSID,
|
||||
getSecurityType(wifiConfig), wifiConfig.preSharedKey);
|
||||
"broadcast", getSecurityType(wifiConfig),
|
||||
wifiConfig.preSharedKey);
|
||||
}
|
||||
} catch (NativeDaemonConnectorException e) {
|
||||
throw e.rethrowAsParcelableException();
|
||||
|
||||
Reference in New Issue
Block a user