Check ssid_len before set WiFi.SSID of network
authorMartin Xu <martin.xu@intel.com>
Mon, 10 May 2010 07:25:36 +0000 (15:25 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 10:46:14 +0000 (12:46 +0200)
commitb2965652f2bd6adb29296e7fa7cda0c5ac6dca89
tree33adcbdd90edda03499342fce87272572d45197b
parent3fd9ff21bcf70730c4b580a8c1b8e8c563b864d7
Check ssid_len before set WiFi.SSID of network

wpa_s 0.7.1 reports hidden network SSID as NULL, during scan. Conseqently,
the ssid of hidden network (which is set by user before) may be cleared,
and can not be connected anymore.
plugins/supplicant.c