mac80211: add initial support for AR9330
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 562-ath9k-add-a-missing-case-statement-to-ath_ant_div_co.patch
1 diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c
2 index 07e35e5..d0af2f2 100644
3 --- a/drivers/net/wireless/ath/ath9k/recv.c
4 +++ b/drivers/net/wireless/ath/ath9k/recv.c
5 @@ -39,6 +39,7 @@ static inline bool ath_ant_div_comb_alt_check(u8 div_group, int alt_ratio,
6 result = true;
7 break;
8 case 1:
9 + case 2:
10 if ((((curr_main_set == ATH_ANT_DIV_COMB_LNA2) &&
11 (curr_alt_set == ATH_ANT_DIV_COMB_LNA1) &&
12 (alt_rssi_avg >= (main_rssi_avg - 5))) ||