linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH] mac80211 : Association with 11n hidden ssid ap.
@ 2008-05-09 16:35 Abhijeet Kolekar
  2008-05-13  1:26 ` Zhu Yi
  0 siblings, 1 reply; 6+ messages in thread
From: Abhijeet Kolekar @ 2008-05-09 16:35 UTC (permalink / raw)
  To: linux-wireless; +Cc: yi.zhu, Abhijeet Kolekar

This patch fixes the association problem with 11n hidden ssid ap.
Patch fixes the problem of associating with hidden ssid when
all three parameters ap,essid and channel are given to iwconfig.
This patch removes the condition of checking three parameters
and always checks for bss in bss list while associating.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
---
 net/mac80211/mlme.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index cb01995..872b105 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -3390,13 +3390,6 @@ static int ieee80211_sta_config_auth(struct net_device *dev,
 	struct ieee80211_sta_bss *bss, *selected = NULL;
 	int top_rssi = 0, freq;
 
-	if (!(ifsta->flags & (IEEE80211_STA_AUTO_SSID_SEL |
-	    IEEE80211_STA_AUTO_BSSID_SEL | IEEE80211_STA_AUTO_CHANNEL_SEL))) {
-		ifsta->state = IEEE80211_AUTHENTICATE;
-		ieee80211_sta_reset_auth(dev, ifsta);
-		return 0;
-	}
-
 	spin_lock_bh(&local->sta_bss_lock);
 	freq = local->oper_channel->center_freq;
 	list_for_each_entry(bss, &local->sta_bss_list, list) {
-- 
1.5.2.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-05-13 19:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-09 16:35 [RFC PATCH] mac80211 : Association with 11n hidden ssid ap Abhijeet Kolekar
2008-05-13  1:26 ` Zhu Yi
2008-05-13  8:35   ` Johannes Berg
2008-05-13  8:49     ` Zhu Yi
2008-05-13  8:52     ` Tomas Winkler
2008-05-13 18:54   ` John W. Linville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).