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

Commit 723f1097 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Allow space in SSID

Bug: 2530930
Change-Id: Iaa6c44014d889ad0d023148b091fc01c22524bf3
parent e5e63f49
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);