From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Johannes Berg <johannes@sipsolutions.net>,
"John W. Linville" <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org,
Lukasz Jagiello <jagiello.lukasz@gmail.com>
Subject: Re: [PATCH] mac80211: disassociate when direct probe timed out
Date: Mon, 7 Nov 2011 16:29:00 +0100 [thread overview]
Message-ID: <20111107152859.GA5990@redhat.com> (raw)
In-Reply-To: <20111107142620.GA5852@redhat.com>
On Mon, Nov 07, 2011 at 03:26:21PM +0100, Stanislaw Gruszka wrote:
> if (!skb) {
> cfg80211_send_auth_timeout(wk->sdata->dev, wk->filter_ta);
> +
> + mutex_lock(&ifmgd->mtx);
> + if (ifmgd->associated)
> + ieee80211_set_disassoc(wk->sdata, true, false);
> + mutex_unlock(&ifmgd->mtx);
Patch tested by Lukasz was a bit different, it first did
ieee80211_set_dissasoc() and then cfg80211_send_auth_timeout().
I changed order by accident when forward porting, I think it's better
to apply the orginal order, I'll post v2.
Stanislaw
next prev parent reply other threads:[~2011-11-07 15:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-07 14:26 [PATCH] mac80211: disassociate when direct probe timed out Stanislaw Gruszka
2011-11-07 15:29 ` Stanislaw Gruszka [this message]
2011-11-07 15:34 ` [PATCH v2] " Stanislaw Gruszka
2011-11-07 15:42 ` Johannes Berg
2011-11-07 15:43 ` Johannes Berg
2011-11-07 16:00 ` Stanislaw Gruszka
2011-11-07 16:05 ` 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=20111107152859.GA5990@redhat.com \
--to=sgruszka@redhat.com \
--cc=jagiello.lukasz@gmail.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.