projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7216198
)
ath9k: add a missing case statement to ath_ant_div_comb_alt_check
author
Gabor Juhos
<juhosg@openwrt.org>
Tue, 21 Jun 2011 09:23:43 +0000
(11:23 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 22 Jun 2011 20:09:55 +0000
(16:09 -0400)
The 'ar9003_hw_antdiv_comb_conf_get' function sets div_group to 2
however that value is not used in 'ath_ant_div_comb_alt_check'.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/recv.c
b/drivers/net/wireless/ath/ath9k/recv.c
index 07e35e59c9e31fa8d9dbb1c6b086c4027e13e2c6..d0af2f277f20f44fac6f5c4bda5798461cf1e84b 100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/recv.c
+++ b/
drivers/net/wireless/ath/ath9k/recv.c
@@
-39,6
+39,7
@@
static inline bool ath_ant_div_comb_alt_check(u8 div_group, int alt_ratio,
result = true;
break;
case 1:
+ case 2:
if ((((curr_main_set == ATH_ANT_DIV_COMB_LNA2) &&
(curr_alt_set == ATH_ANT_DIV_COMB_LNA1) &&
(alt_rssi_avg >= (main_rssi_avg - 5))) ||