From: Stanislaw Gruszka <sgruszka@redhat.com>
To: linux-wireless@vger.kernel.org,
David Spinadel <david.spinadel@intel.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Subject: [RFC/RFT] mac80211: stop connection monitor on dissassoc
Date: Tue, 12 Jun 2012 11:58:55 +0200 [thread overview]
Message-ID: <20120612095850.GA2612@redhat.com> (raw)
Looks like is possible to do not kick of deferred scan when connection
monitoring is pending and on the same time we disconnect.
David, I can not recreate this problem locally, does below patch
fix the problem on your tests.
Thanks
Stanislaw
---
net/mac80211/mlme.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index d7134c1..1e20748 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1425,6 +1425,8 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata,
del_timer_sync(&sdata->u.mgd.bcn_mon_timer);
del_timer_sync(&sdata->u.mgd.timer);
del_timer_sync(&sdata->u.mgd.chswitch_timer);
+
+ ieee80211_stop_poll(sdata);
}
void ieee80211_sta_rx_notify(struct ieee80211_sub_if_data *sdata,
--
1.7.1
next reply other threads:[~2012-06-12 9:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-12 9:58 Stanislaw Gruszka [this message]
2012-06-12 10:05 ` [RFC/RFT] mac80211: stop connection monitor on dissassoc Spinadel, David
2012-06-12 10:20 ` Stanislaw Gruszka
2012-06-12 11:01 ` Johannes Berg
2012-06-12 11:02 ` Spinadel, David
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=20120612095850.GA2612@redhat.com \
--to=sgruszka@redhat.com \
--cc=david.spinadel@intel.com \
--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 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.