The error occours when wlan_scan=y is set in the wlan.conf and multible ssids are configured for the same device (e.g. SSID_wlan0="SSID1 SSID2 SSID3 ..."). Reproducible: Always Steps to Reproduce: 1. edit wlan.conf 2. set wlan_scan=y (in /etc/wlan/wlan.conf) 3. set ssid_wlan0="ssid1 ssid2 ssid3" 4. /etc/init.d/wlan restart (restart the wlan device by the init script) Actual Results: the init script sets the ssid to <ssid>:<bssid> so the card can't connect to the access point Expected Results: set the ssid correct the error is caused by misusing the wlan_source_config_for_ssid function in line 47: wlan_source_config_for_ssid "$ssid:$bssid" should be wlan_source_config_for_ssid "$ssid" "$bssid" (two arguments instead of two)
Please test if this problem still exists with linux-wlan-ng-0.2.2 Awaiting feedback from reporter.