]> 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)
commit78b4a474f6056a184f70af770c08f87e7d62ed4b
tree9bb64e599fb14c424480f7b4cda6abc5c7754c04
parentb2c7954e69b2919c0ac56862e64230ff28893a73
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