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

Commit 15b487e4 authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android (Google) Code Review
Browse files

Merge "Allow space in SSID"

parents 57c7204c 723f1097
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -483,8 +483,8 @@ class NetworkManagementService extends INetworkManagementService.Stub {
             * argv7 - Preamble
             * argv8 - Max SCB
             */
            String str = String.format("softap set " + wlanIface + " " + softapIface + " %s %s %s",
                                       wifiConfig.SSID,
            String str = String.format("softap set " + wlanIface + " " + softapIface +
                                       " \"%s\" %s %s", wifiConfig.SSID,
                                       wifiConfig.allowedKeyManagement.get(KeyMgmt.WPA_PSK) ?
                                       "wpa2-psk" : "open",
                                       wifiConfig.preSharedKey);
@@ -511,7 +511,7 @@ class NetworkManagementService extends INetworkManagementService.Stub {
            mConnector.doCommand(String.format("softap set " + wlanIface + " " + softapIface));
        } else {
            String str = String.format("softap set " + wlanIface + " " + softapIface +
                                       " %s %s %s", wifiConfig.SSID,
                                       " \"%s\" %s %s", wifiConfig.SSID,
                                       wifiConfig.allowedKeyManagement.get(KeyMgmt.WPA_PSK) ?
                                       "wpa2-psk" : "open",
                                       wifiConfig.preSharedKey);