]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: Remove WARN_ON_ONCE in ieee80211_recalc_smps
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Sun, 25 Oct 2015 08:59:40 +0000 (10:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Nov 2015 09:41:02 +0000 (10:41 +0100)
commitc189a685b83955a39884dc2bdae531bc0adf3b98
tree778f24fc8ba3e0fb57623d3a58a69bcbb1461a78
parent43d6df007c0cc111ab8ead8bd95aafab9bb4531d
mac80211: Remove WARN_ON_ONCE in ieee80211_recalc_smps

The recalc_smps work can run after the station disassociates.
At this stage we already released the channel, but the work
will be cancelled only when the interface stops.
In this scenario we can hit the warning in ieee80211_recalc_smps, so
just remove it.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c