]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: don't fiddle with netdev queues in MLME code
authorJohannes Berg <johannes.berg@intel.com>
Tue, 26 Mar 2013 21:02:42 +0000 (22:02 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 09:06:19 +0000 (11:06 +0200)
commit71cdb5e27a5eb002fbe1eac5aa31ee4c563a96fa
tree03c75908804eb45866ce9092087aaf35618ceed0
parent12c9ca61c795bd72c4dcbb7d3cf5da78ef151b47
mac80211: don't fiddle with netdev queues in MLME code

The netdev queues should always represent the state that
the driver gave them, so fiddling with them isn't really
appropriate in the mlme code. Also, since we stop queues
for flushing now, this really isn't necessary any more.

As the scan/offchannel code has also been modified to no
longer do this a while ago, remove the outdated smp_mb()
and comments about it.

While at it, also add a pair of braces that was missing.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c