~ubuntu-branches/ubuntu/natty/linux-backports-modules-2.6.38/natty-updates

« back to all changes in this revision

Viewing changes to updates/cw-2.6.39/patches/36-workqueue.patch

  • Committer: Bazaar Package Importer
  • Author(s): Tim Gardner, Tim Gardner
  • Date: 2011-06-08 10:44:09 UTC
  • Revision ID: james.westby@ubuntu.com-20110608104409-fnl8carkdo15bwsz
Tags: 2.6.38-10.6
[ Tim Gardner ]

Shorten compat-wireless package name to cw to accomodate
CDROM file name length restrictions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Backport commit 99b88a0ecbdbc6df03527292571b2b442965814a
 
2
The rest is backported in include/linux/compat-2.6.37.h
 
3
 
 
4
--- a/net/mac80211/main.c
 
5
+++ b/net/mac80211/main.c
 
6
@@ -1071,6 +1071,10 @@ static void __exit ieee80211_exit(void)
 
7
        rc80211_minstrel_ht_exit();
 
8
        rc80211_minstrel_exit();
 
9
 
 
10
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37))
 
11
+       flush_scheduled_work();
 
12
+#endif
 
13
+
 
14
        if (mesh_allocated)
 
15
                ieee80211s_stop();
 
16