aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/475-2.6.39-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/patches/475-2.6.39-compile.patch')
-rw-r--r--package/madwifi/patches/475-2.6.39-compile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/madwifi/patches/475-2.6.39-compile.patch b/package/madwifi/patches/475-2.6.39-compile.patch
new file mode 100644
index 000000000..5b8a77718
--- /dev/null
+++ b/package/madwifi/patches/475-2.6.39-compile.patch
@@ -0,0 +1,11 @@
+--- a/net80211/ieee80211_scan.c
++++ b/net80211/ieee80211_scan.c
+@@ -97,7 +97,7 @@ struct scan_state {
+ static void scan_restart_pwrsav(unsigned long);
+ static void scan_next(unsigned long);
+
+-spinlock_t channel_lock = SPIN_LOCK_UNLOCKED;
++DEFINE_SPINLOCK(channel_lock);
+ static LIST_HEAD(channels_inuse);
+
+ struct channel_inuse {