backport mac80211 and iw from trunk
[openwrt-10.03/.git] / package / mac80211 / patches / 520-ath9k_slottime_init.patch
diff --git a/package/mac80211/patches/520-ath9k_slottime_init.patch b/package/mac80211/patches/520-ath9k_slottime_init.patch
new file mode 100644 (file)
index 0000000..1eb8358
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/ath/ath9k/hw.c
++++ b/drivers/net/wireless/ath/ath9k/hw.c
+@@ -417,7 +417,7 @@ static void ath9k_hw_init_defaults(struc
+               AR_STA_ID1_MCAST_KSRCH;
+       ah->beacon_interval = 100;
+       ah->enable_32kHz_clock = DONT_USE_32KHZ;
+-      ah->slottime = (u32) -1;
++      ah->slottime = 9;
+       ah->globaltxtimeout = (u32) -1;
+       ah->power_mode = ATH9K_PM_UNDEFINED;
+ }