rpms/kernel/F-7 linux-2.6-mac80211-probe-hidden-essid.patch, NONE, 1.1
John W. Linville (linville)
fedora-extras-commits at redhat.com
Tue Aug 7 18:05:11 UTC 2007
Author: linville
Update of /cvs/pkgs/rpms/kernel/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14619
Added Files:
linux-2.6-mac80211-probe-hidden-essid.patch
Log Message:
mac80211: probe for hidden ssid in pre-assoc scan (forgot patch)
linux-2.6-mac80211-probe-hidden-essid.patch:
--- NEW FILE linux-2.6-mac80211-probe-hidden-essid.patch ---
From: John W. Linville <linville at tuxdriver.com>
[PATCH] mac80211: probe for hidden SSIDs
Signed-off-by: John W. Linville <linville at tuxdriver.com>
---
net/mac80211/ieee80211_sta.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 007dd08..9f467cc 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/net/mac80211/ieee80211_sta.c
@@ -3217,7 +3217,10 @@ static int ieee80211_sta_config_auth(struct net_device *dev,
return 0;
} else {
if (ifsta->state != IEEE80211_AUTHENTICATE) {
- ieee80211_sta_start_scan(dev, NULL, 0);
+ ieee80211_sta_start_scan(dev, ifsta->auto_ssid_sel ?
+ NULL : ifsta->ssid,
+ ifsta->auto_ssid_sel ?
+ 0 : ifsta->ssid_len);
ifsta->state = IEEE80211_AUTHENTICATE;
set_bit(IEEE80211_STA_REQ_AUTH, &ifsta->request);
} else
More information about the fedora-extras-commits
mailing list