[PATCH] softmac: Fix inability to associate with WEP networks
Commit 4cf92a3c
was submitted as a fix for bug #8686 at bugzilla.kernel.org
(http://bugzilla.kernel.org/show_bug.cgi?id=8686). Unfortunately, the fix led to
a new bug, reported by Yoshifuji Hideaki, that prevented association for WEP
encrypted networks that use ifconfig to control the device. This patch effectively
reverts the earlier commit and does a proper fix for bug #8686.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
81cfe79b9c
commit
efe870f9f4
@@ -273,8 +273,6 @@ ieee80211softmac_assoc_work(struct work_struct *work)
|
||||
ieee80211softmac_notify(mac->dev, IEEE80211SOFTMAC_EVENT_SCAN_FINISHED, ieee80211softmac_assoc_notify_scan, NULL);
|
||||
if (ieee80211softmac_start_scan(mac)) {
|
||||
dprintk(KERN_INFO PFX "Associate: failed to initiate scan. Is device up?\n");
|
||||
mac->associnfo.associating = 0;
|
||||
mac->associnfo.associated = 0;
|
||||
}
|
||||
goto out;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user