summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/607-rt2x00-dont-try-to-destroy-unallocated-workqueue.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/607-rt2x00-dont-try-to-destroy-unallocated-workqueue.patch')
-rw-r--r--package/mac80211/patches/607-rt2x00-dont-try-to-destroy-unallocated-workqueue.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/package/mac80211/patches/607-rt2x00-dont-try-to-destroy-unallocated-workqueue.patch b/package/mac80211/patches/607-rt2x00-dont-try-to-destroy-unallocated-workqueue.patch
deleted file mode 100644
index f9d3ca1ad..000000000
--- a/package/mac80211/patches/607-rt2x00-dont-try-to-destroy-unallocated-workqueue.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/drivers/net/wireless/rt2x00/rt2x00dev.c
-+++ b/drivers/net/wireless/rt2x00/rt2x00dev.c
-@@ -1224,7 +1224,8 @@ void rt2x00lib_remove_dev(struct rt2x00_
- cancel_work_sync(&rt2x00dev->rxdone_work);
- cancel_work_sync(&rt2x00dev->txdone_work);
- }
-- destroy_workqueue(rt2x00dev->workqueue);
-+ if (rt2x00dev->workqueue)
-+ destroy_workqueue(rt2x00dev->workqueue);
-
- /*
- * Free the tx status fifo.