From b0e6a11668347fd4a5feeb99a949a8b75210445f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Oct 2010 16:58:32 +0000 Subject: [PATCH] ath9k: backport the ANI listen time fix from trunk SVN-Revision: 23200 --- .../patches/550-ath9k_fix_ani_listen_time.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/mac80211/patches/550-ath9k_fix_ani_listen_time.patch 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 index 0000000000..92b08eb4ef --- /dev/null +++ b/package/mac80211/patches/550-ath9k_fix_ani_listen_time.patch @@ -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) -- 2.30.2