mac80211: stop Rx during HW reconfig
authorArik Nemtsov <arik@wizery.com>
Wed, 6 Jun 2012 08:25:02 +0000 (11:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jun 2012 17:18:53 +0000 (19:18 +0200)
commit04800ada2acc3a9ffc754c1d73576cef326f3311
treec3b298de7409ec82b19d206c66d84558c09637d6
parent58886a9011f8eae705b9f585ec6c80b34f3c4e6c
mac80211: stop Rx during HW reconfig

While HW reconfig is in progress, drop all incoming Rx. This prevents
incoming packets from changing the internal state of the driver or
calling callbacks of the low level driver while it is in inconsistent
state.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/rx.c
net/mac80211/util.c