mac80211: remove sta_info_flush() from interface teardown
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Nov 2013 17:06:47 +0000 (19:06 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 2 Dec 2013 10:51:50 +0000 (11:51 +0100)
commit2ce6a0f554868ef6b07966254a612f710a909136
tree9696ff974be01d85b84536899e215f6953fb48e3
parentad38bfc916da6aee9160bfa5335aed8d6c190e39
mac80211: remove sta_info_flush() from interface teardown

All interface types now properly clean up their stations
using some form of sta_info_flush() themselves, so there's
no need to try it again at teardown. Remove the call to
get rid of the extra delay from the synchronize_net() and
rcu_barrier() calls.

Reported-by: Moshe Benji <moshe.benji@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c