You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
freifunkist-firmware/package/madwifi/patches/475-2.6.39-compile.patch

11 lines
332 B

--- 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 {