summaryrefslogtreecommitdiff
path: root/patches/collateral-evolutions/network/36-workqueue.patch
blob: c2c6bbd6f0aeaf7aa47130d3823e6a841745f492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Backport commit 99b88a0ecbdbc6df03527292571b2b442965814a
The rest is backported in include/linux/compat-2.6.37.h

--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -1152,6 +1152,10 @@ static void __exit ieee80211_exit(void)
 	rc80211_minstrel_ht_exit();
 	rc80211_minstrel_exit();
 
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37))
+	flush_scheduled_work();
+#endif
+
 	ieee80211s_stop();
 
 	ieee80211_iface_exit();