All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Buesch <mb@bu3sch.de>
To: John Linville <linville@tuxdriver.com>
Cc: Abhijeet Kolekar <abhijeet.kolekar@intel.com>,
	linux-wireless@vger.kernel.org,
	Johannes Berg <johannes@sipsolutions.net>
Subject: Association broken with wpa_supplicant
Date: Fri, 16 May 2008 00:30:10 +0200	[thread overview]
Message-ID: <200805160030.11244.mb@bu3sch.de> (raw)

Hi John,

Association is broken in latest wireless-testing when using
wpa_supplicant. It tells me

Trying to associate with REAL_BSSID...
Authentication with 00:00:00:00:00:00 timed out.

The commit responsible for the breakage is

Author: Abhijeet Kolekar <abhijeet.kolekar@intel.com>  2008-05-09 18:35:41
Committer: John W. Linville <linville@tuxdriver.com>  2008-05-15 22:11:19
Parent: 6d7ef8714c227884346aebd9f4e5eea302db6d22 (hostap: fix "registers" registration in procfs)
Child:  d67ec7fb2b8ce69709def2421ab893517b101591 (libertas: fix command timeout after firmware failure)
Branches: master, remotes/origin/master
Follows: master-2008-05-14
Precedes: master-2008-05-15

    mac80211 : Association with 11n hidden ssid ap.
    
    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>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>

----------------------------- net/mac80211/mlme.c -----------------------------
index 7877d3b..508f675 100644
@@ -3434,13 +3434,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) {



Reverting this fixes the issue for me.

-- 
Greetings Michael.

             reply	other threads:[~2008-05-15 22:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-15 22:30 Michael Buesch [this message]
2008-05-16 14:57 ` Association broken with wpa_supplicant Johannes Berg
2008-05-16 14:58 ` John W. Linville
2008-05-16 18:16   ` Michael Buesch
2008-05-16 18:19     ` Kolekar, Abhijeet
  -- strict thread matches above, loose matches on Subject: below --
2008-05-16  7:31 Ronald
2008-05-16  8:19 ` Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200805160030.11244.mb@bu3sch.de \
    --to=mb@bu3sch.de \
    --cc=abhijeet.kolekar@intel.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.