]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211/mac80211: avoid state mishmash on deauth
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 15 Oct 2012 12:52:41 +0000 (14:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 15 Oct 2012 15:21:34 +0000 (17:21 +0200)
commitb50cf3664c1a226923f532ea191faab1ef3e948b
tree9bb64e599fb14c424480f7b4cda6abc5c7754c04
parent0a61773ce2dec2f7efaa184613cb676b41a7991c
cfg80211/mac80211: avoid state mishmash on deauth

Avoid situation when we are on associate state in mac80211 and
on disassociate state in cfg80211. This can results on crash
during modules unload (like showed on this thread:
http://marc.info/?t=134373976300001&r=1&w=2) and possibly other
problems.

Reported-by: Pedro Francisco <pedrogfrancisco@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/mlme.c
net/wireless/mlme.c