diff options
Diffstat (limited to 'net/mac80211/key.c')
-rw-r--r-- | net/mac80211/key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/key.c b/net/mac80211/key.c index 7ae678ba5d67..d27e61aaa71b 100644 --- a/net/mac80211/key.c +++ b/net/mac80211/key.c | |||
@@ -402,7 +402,7 @@ static void __ieee80211_key_destroy(struct ieee80211_key *key) | |||
402 | * Synchronize so the TX path can no longer be using | 402 | * Synchronize so the TX path can no longer be using |
403 | * this key before we free/remove it. | 403 | * this key before we free/remove it. |
404 | */ | 404 | */ |
405 | synchronize_rcu(); | 405 | synchronize_net(); |
406 | 406 | ||
407 | if (key->local) | 407 | if (key->local) |
408 | ieee80211_key_disable_hw_accel(key); | 408 | ieee80211_key_disable_hw_accel(key); |