linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Brivio <stefano.brivio@polimi.it>
To: Michael Wu <flamingice@sourmilk.net>,
	Johannes Berg <johannes@sipsolutions.net>,
	Jiri Benc <jbenc@suse.cz>
Cc: linux-wireless@vger.kernel.org
Subject: Re: mac80211 doesn't reassociate after failed ProbeResp
Date: Wed, 7 Nov 2007 12:18:47 +0100	[thread overview]
Message-ID: <20071107121847.72d46dac@morte> (raw)
In-Reply-To: <20071107104222.1fa0b728@morte>

This fixes the issue for me. Note that this is a dirty hack and may break
roaming and everything badly. Will try to fix this better.

--- net/mac80211/ieee80211_sta.c~       2007-11-07 12:08:08.847346973 +0100
+++ net/mac80211/ieee80211_sta.c        2007-11-07 12:08:08.848346821 +0100
@@ -785,7 +785,7 @@
                                       "range\n",
                                       dev->name, print_mac(mac, ifsta->bssid));
                                disassoc = 1;
-                               sta_info_free(sta);
+//                             sta_info_free(sta);
                        } else
                                ieee80211_send_probe_req(dev, ifsta->bssid,
                                                         local->scan_ssid,


-- 
Ciao
Stefano

  reply	other threads:[~2007-11-07 11:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07  9:21 mac80211 doesn't reassociate after failed ProbeResp Stefano Brivio
2007-11-07  9:42 ` Stefano Brivio
2007-11-07 11:18   ` Stefano Brivio [this message]
2007-11-07 10:49 ` Claudio Matsuoka
2007-11-07 16:44   ` drago01
2007-11-10  4:08 ` Stefano Brivio

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=20071107121847.72d46dac@morte \
    --to=stefano.brivio@polimi.it \
    --cc=flamingice@sourmilk.net \
    --cc=jbenc@suse.cz \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /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 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).