diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index e054a2fd8d38..0785d04a80bc 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -263,6 +263,9 @@ static void ieee80211_restart_work(struct work_struct *work) | |||
263 | flush_delayed_work(&local->roc_work); | 263 | flush_delayed_work(&local->roc_work); |
264 | flush_work(&local->hw_roc_done); | 264 | flush_work(&local->hw_roc_done); |
265 | 265 | ||
266 | /* wait for all packet processing to be done */ | ||
267 | synchronize_net(); | ||
268 | |||
266 | ieee80211_reconfig(local); | 269 | ieee80211_reconfig(local); |
267 | rtnl_unlock(); | 270 | rtnl_unlock(); |
268 | } | 271 | } |