Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92dc4507 authored by Dmitry Shmidt's avatar Dmitry Shmidt Committed by Android (Google) Code Review
Browse files

Merge "softap: Set broadcast option explicitly"

parents 057d3eb1 dfddc9e5
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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();