Re: cfg80211 / libertas: an unusual race

Johannes Berg
2009-10-16T11:39:02Z

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

On Tue, 2009-10-13 at 10:55 +0200, Holger Schurig wrote:

> But at step "3. b)", which now happens at a later time,
> wdev_current_bss is no longer set. This triggers a
> WARN_ON(!done) warning in __cfg80211_send_deauth(),
> file net/wireless/mlme.c
>

> Would it be O.K. to simply remove the WARN_ON(!done) ?
> After all, wdev>current_bss was put'ted and cleared correctly.

I don't see this happening that way -- how are you even getting to
__cfg80211_disconnected() if not through _send_deauth()?