From c647008c4c62dee5a6577a1d4bfa415c96e72b46 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 3 Oct 2010 16:58:32 +0000 Subject: [PATCH] ath9k: backport the ANI listen time fix from trunk git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@23200 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../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 000000000..92b08eb4e --- /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.35.1