ssid with double space not stored correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I am running wpa_supplicant 2.6 on an embedded linux platform. It
appears that ssid's with double white space is not correctly written to
wpa_supplicant using wpa_cli

SALT# wpa_cli set_network 23 ssid \"NOS-CAFE DA  MARINA\"
Selected interface 'wlan0'
OK

but

SALT# wpa_cli list_networks
Selected interface 'wlan0'
network id / ssid / bssid / flags
0       marina04        any     [DISABLED]
1       MRCYB   any     [DISABLED]
2       club nautico    any     [DISABLED]
3       MARINA  any     [DISABLED]
4       Marina_Bas_du_Fort      any     [DISABLED]
5       TOUBANA any     [DISABLED]
6       Club Med WiFi   any     [DISABLED]
7       HotHotHotSpot!  any     [DISABLED]
8       #1 Wi-Fi iSeaGreen & Rental     any     [DISABLED]
9       Maogany Boutique        any     [DISABLED]
10      MARINA-WIFI     any     [DISABLED]
11       MARINA-WIFI    any     [DISABLED]
12      Wifi_Assembleia any     [DISABLED]
13       MARINA-WIFI    any     [DISABLED]
14       MARINA-WIFI    any     [DISABLED]
15       MARINA-WIFI    any     [DISABLED]
16       MARINA-WIFI    any     [DISABLED]
17       MARINA-WIFI    any     [DISABLED]
18      Praia-GoWiFi    any     [DISABLED]
19      marina01        any     [DISABLED]
20      marina05        any     [DISABLED]
21      marina_nascente any     [DISABLED]
22      CNN01W02        any     [DISABLED]
23      NOS-CAFE DA MARINA      any     [DISABLED]

If I set the stanza into wpasupplicant.conf like

network={
        ssid="NOS-CAFE DA  MARINA"
        key_mgmt=NONE
}

then I am getting the correct ssid set

23      NOS-CAFE DA  MARINA     any     [CURRENT]

It feels like double spaces are somehow suppressed in wpa_cli

cheers

ET

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux