Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67797

Summary: linux-wlan-ng is unable to connect to different ssids
Product: Gentoo Linux Reporter: Nikov Kalasch <sloboII>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED NEEDINFO    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nikov Kalasch 2004-10-16 10:55:00 UTC
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)
Comment 1 Henrik Brix Andersen 2005-10-05 14:10:07 UTC
Please test if this problem still exists with linux-wlan-ng-0.2.2

Awaiting feedback from reporter.