summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/552-ath9k_fix_ani_listen_time.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/552-ath9k_fix_ani_listen_time.patch')
-rw-r--r--package/mac80211/patches/552-ath9k_fix_ani_listen_time.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/552-ath9k_fix_ani_listen_time.patch b/package/mac80211/patches/552-ath9k_fix_ani_listen_time.patch
new file mode 100644
index 000000000..9d83a0226
--- /dev/null
+++ b/package/mac80211/patches/552-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
+@@ -547,7 +547,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)