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

Commit dfddc9e5 authored by Dmitry Shmidt's avatar Dmitry Shmidt
Browse files

softap: Set broadcast option explicitly



Change-Id: I3f045b5427e68223d0b0be995d3d8c00a9ad21bc
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent caff1310
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();