diff options
Diffstat (limited to 'net/mac80211/ieee80211.c')
-rw-r--r-- | net/mac80211/ieee80211.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c index b3cf69edeed9..dbe993af8034 100644 --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c | |||
@@ -1868,6 +1868,12 @@ static void __exit ieee80211_exit(void) | |||
1868 | { | 1868 | { |
1869 | rc80211_pid_exit(); | 1869 | rc80211_pid_exit(); |
1870 | 1870 | ||
1871 | /* | ||
1872 | * For key todo, it'll be empty by now but the work | ||
1873 | * might still be scheduled. | ||
1874 | */ | ||
1875 | flush_scheduled_work(); | ||
1876 | |||
1871 | if (mesh_allocated) | 1877 | if (mesh_allocated) |
1872 | ieee80211s_stop(); | 1878 | ieee80211s_stop(); |
1873 | 1879 | ||