ath9k: backport the ANI listen time fix from trunk
authorFelix Fietkau <nbd@openwrt.org>
Sun, 3 Oct 2010 16:58:32 +0000 (16:58 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 3 Oct 2010 16:58:32 +0000 (16:58 +0000)
SVN-Revision: 23200

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)