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>
This commit is contained in:

committed by
Johannes Berg

parent
58886a9011
commit
04800ada2a
@@ -881,6 +881,9 @@ struct ieee80211_local {
|
||||
/* device is started */
|
||||
bool started;
|
||||
|
||||
/* device is during a HW reconfig */
|
||||
bool in_reconfig;
|
||||
|
||||
/* wowlan is enabled -- don't reconfig on resume */
|
||||
bool wowlan;
|
||||
|
||||
|
Reference in New Issue
Block a user