All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw@simonwunderlich.de>
To: Sujith Manoharan <sujith@msujith.org>
Cc: Johannes Berg <johannes@sipsolutions.net>,
	linux-wireless@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] mac80211: Fix IBSS join
Date: Tue, 28 Jan 2014 15:42:03 +0100	[thread overview]
Message-ID: <201401281542.03451.sw@simonwunderlich.de> (raw)
In-Reply-To: <1390874095-28008-1-git-send-email-sujith@msujith.org>


> From: Sujith Manoharan <c_manoha@qca.qualcomm.com>
> 
> Currently, when a station leaves an IBSS network, the
> corresponding BSS is not dropped from cfg80211 if there are
> other active stations in the network. But, the small
> window that is present when trying to determine a station's
> status based on IEEE80211_IBSS_MERGE_INTERVAL introduces
> a race.
> 
> Instead of trying to keep the BSS, always remove it when
> leaving an IBSS network. There is not much benefit to retain
> the BSS entry since it will be added with a subsequent join
> operation.
> 
> This fixes an issue where a dangling BSS entry causes ath9k
> to wait for a beacon indefinitely.

Thank you Sujith, works fine with and without setting a fixed BSSID.

Feel free to add

Tested-by: Simon Wunderlich <sw@simonwunderlich.de>

Cheers,
    Simon

  reply	other threads:[~2014-01-28 14:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-28  1:54 [PATCH] mac80211: Fix IBSS join Sujith Manoharan
2014-01-28 14:42 ` Simon Wunderlich [this message]
2014-01-29 12:08 ` Johannes Berg
2014-01-29 12:19   ` Simon Wunderlich
2014-01-30  7:35     ` Sujith Manoharan
2014-01-30  8:10       ` Johannes Berg
2014-01-30 10:58         ` Simon Wunderlich

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=201401281542.03451.sw@simonwunderlich.de \
    --to=sw@simonwunderlich.de \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=sujith@msujith.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.