mac80211: optimise synchronize_net() for sta_info_flush
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Dec 2013 22:12:31 +0000 (23:12 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Dec 2013 10:29:47 +0000 (11:29 +0100)
There's no reason to have one synchronize_net() for each
removed station, refactor the code slightly to have just
a single synchronize_net() for all stations.

Note that this is currently useless as hostapd removes
stations one by one and this coalescing never happens.

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

Simple merge
Simple merge