]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit115687409379ba854e21876a516c61d8be2810c8
treec3b298de7409ec82b19d206c66d84558c09637d6
parente141a4b3cd1ff341a45d81c7c26d3cd67d879421
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