ath9k: backport the ANI listen time fix from trunk
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Oct 2010 16:58:32 +0000 (16:58 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Oct 2010 16:58:32 +0000 (16:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23200 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/mac80211/patches/550-ath9k_fix_ani_listen_time.patch [new file with mode: 0644]

diff --git a/package/mac80211/patches/550-ath9k_fix_ani_listen_time.patch b/package/mac80211/patches/550-ath9k_fix_ani_listen_time.patch
new file mode 100644 (file)
index 0000000..92b08eb
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/ath/ath9k/ani.c
++++ b/drivers/net/wireless/ath/ath9k/ani.c
+@@ -544,7 +544,7 @@ static u8 ath9k_hw_chan_2_clockrate_mhz(
+       if (conf_is_ht40(conf))
+               return clockrate * 2;
+-      return clockrate * 2;
++      return clockrate;
+ }
+ static int32_t ath9k_hw_ani_get_listen_time(struct ath_hw *ah)