mac80211: fix receiving deauth
authorJohannes Berg <johannes@sipsolutions.net>
Sat, 25 Jul 2009 09:58:36 +0000 (11:58 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Jul 2009 19:45:58 +0000 (15:45 -0400)
commit8d8b261a5c11bd043b9b0e0c7e6c49d57611e3ae
treee8c7205506cb7f6545c19fdb683872661127ac90
parentbc43b28c10855aa56f6d0bd64ec6a6d8edbcf11b
mac80211: fix receiving deauth

Marcel reported a warning, which quite obviously comes
from an oversight in the code handling deauth frames,
and which resulted in multiple follow-up warnings due
to this missing handling. This patch adds the missing
deauth handling (telling cfg80211 about it) and also
removes the follow-up warnings since they could happen
due to races even if nothing is wrong. I've explained
the races in the comments.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reported-by: Marcel Holtmann <marcel@holtmann.org>
Tested-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c