summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/564-ath9k-remove-superfluous-parentheses.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-24 19:53:13 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-24 19:53:13 +0000
commit437bd1772aceb2fc48ac5b11d68b366d0516715e (patch)
treea44f783eb47dde96b98457e9980bab5808af8a0c /package/mac80211/patches/564-ath9k-remove-superfluous-parentheses.patch
parentbcf916845dd91cecb3e4e49dbcfe7f634da9e622 (diff)
mac80211: update to wireless-testing 2011-06-22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27275 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/564-ath9k-remove-superfluous-parentheses.patch')
-rw-r--r--package/mac80211/patches/564-ath9k-remove-superfluous-parentheses.patch198
1 files changed, 0 insertions, 198 deletions
diff --git a/package/mac80211/patches/564-ath9k-remove-superfluous-parentheses.patch b/package/mac80211/patches/564-ath9k-remove-superfluous-parentheses.patch
deleted file mode 100644
index 3cad40f90d..0000000000
--- a/package/mac80211/patches/564-ath9k-remove-superfluous-parentheses.patch
+++ /dev/null
@@ -1,198 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/recv.c
-+++ b/drivers/net/wireless/ath/ath9k/recv.c
-@@ -1078,39 +1078,39 @@ static void ath_lnaconf_alt_good_scan(st
- antcomb->rssi_lna1 = main_rssi_avg;
-
- switch ((ant_conf.main_lna_conf << 4) | ant_conf.alt_lna_conf) {
-- case (0x10): /* LNA2 A-B */
-+ case 0x10: /* LNA2 A-B */
- antcomb->main_conf = ATH_ANT_DIV_COMB_LNA1_MINUS_LNA2;
- antcomb->first_quick_scan_conf =
- ATH_ANT_DIV_COMB_LNA1_PLUS_LNA2;
- antcomb->second_quick_scan_conf = ATH_ANT_DIV_COMB_LNA1;
- break;
-- case (0x20): /* LNA1 A-B */
-+ case 0x20: /* LNA1 A-B */
- antcomb->main_conf = ATH_ANT_DIV_COMB_LNA1_MINUS_LNA2;
- antcomb->first_quick_scan_conf =
- ATH_ANT_DIV_COMB_LNA1_PLUS_LNA2;
- antcomb->second_quick_scan_conf = ATH_ANT_DIV_COMB_LNA2;
- break;
-- case (0x21): /* LNA1 LNA2 */
-+ case 0x21: /* LNA1 LNA2 */
- antcomb->main_conf = ATH_ANT_DIV_COMB_LNA2;
- antcomb->first_quick_scan_conf =
- ATH_ANT_DIV_COMB_LNA1_MINUS_LNA2;
- antcomb->second_quick_scan_conf =
- ATH_ANT_DIV_COMB_LNA1_PLUS_LNA2;
- break;
-- case (0x12): /* LNA2 LNA1 */
-+ case 0x12: /* LNA2 LNA1 */
- antcomb->main_conf = ATH_ANT_DIV_COMB_LNA1;
- antcomb->first_quick_scan_conf =
- ATH_ANT_DIV_COMB_LNA1_MINUS_LNA2;
- antcomb->second_quick_scan_conf =
- ATH_ANT_DIV_COMB_LNA1_PLUS_LNA2;
- break;
-- case (0x13): /* LNA2 A+B */
-+ case 0x13: /* LNA2 A+B */
- antcomb->main_conf = ATH_ANT_DIV_COMB_LNA1_PLUS_LNA2;
- antcomb->first_quick_scan_conf =
- ATH_ANT_DIV_COMB_LNA1_MINUS_LNA2;
- antcomb->second_quick_scan_conf = ATH_ANT_DIV_COMB_LNA1;
- break;
-- case (0x23): /* LNA1 A+B */
-+ case 0x23: /* LNA1 A+B */
- antcomb->main_conf = ATH_ANT_DIV_COMB_LNA1_PLUS_LNA2;
- antcomb->first_quick_scan_conf =
- ATH_ANT_DIV_COMB_LNA1_MINUS_LNA2;
-@@ -1327,40 +1327,40 @@ static void ath_ant_div_conf_fast_divbia
- /* Adjust the fast_div_bias based on main and alt lna conf */
- switch ((ant_conf->main_lna_conf << 4) |
- ant_conf->alt_lna_conf) {
-- case (0x01): /* A-B LNA2 */
-+ case 0x01: /* A-B LNA2 */
- ant_conf->fast_div_bias = 0x3b;
- break;
-- case (0x02): /* A-B LNA1 */
-+ case 0x02: /* A-B LNA1 */
- ant_conf->fast_div_bias = 0x3d;
- break;
-- case (0x03): /* A-B A+B */
-+ case 0x03: /* A-B A+B */
- ant_conf->fast_div_bias = 0x1;
- break;
-- case (0x10): /* LNA2 A-B */
-+ case 0x10: /* LNA2 A-B */
- ant_conf->fast_div_bias = 0x7;
- break;
-- case (0x12): /* LNA2 LNA1 */
-+ case 0x12: /* LNA2 LNA1 */
- ant_conf->fast_div_bias = 0x2;
- break;
-- case (0x13): /* LNA2 A+B */
-+ case 0x13: /* LNA2 A+B */
- ant_conf->fast_div_bias = 0x7;
- break;
-- case (0x20): /* LNA1 A-B */
-+ case 0x20: /* LNA1 A-B */
- ant_conf->fast_div_bias = 0x6;
- break;
-- case (0x21): /* LNA1 LNA2 */
-+ case 0x21: /* LNA1 LNA2 */
- ant_conf->fast_div_bias = 0x0;
- break;
-- case (0x23): /* LNA1 A+B */
-+ case 0x23: /* LNA1 A+B */
- ant_conf->fast_div_bias = 0x6;
- break;
-- case (0x30): /* A+B A-B */
-+ case 0x30: /* A+B A-B */
- ant_conf->fast_div_bias = 0x1;
- break;
-- case (0x31): /* A+B LNA2 */
-+ case 0x31: /* A+B LNA2 */
- ant_conf->fast_div_bias = 0x3b;
- break;
-- case (0x32): /* A+B LNA1 */
-+ case 0x32: /* A+B LNA1 */
- ant_conf->fast_div_bias = 0x3d;
- break;
- default:
-@@ -1370,22 +1370,22 @@ static void ath_ant_div_conf_fast_divbia
- /* Adjust the fast_div_bias based on main and alt_lna_conf */
- switch ((ant_conf->main_lna_conf << 4) |
- ant_conf->alt_lna_conf) {
-- case (0x01): /* A-B LNA2 */
-+ case 0x01: /* A-B LNA2 */
- ant_conf->fast_div_bias = 0x1;
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x02): /* A-B LNA1 */
-+ case 0x02: /* A-B LNA1 */
- ant_conf->fast_div_bias = 0x1;
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x03): /* A-B A+B */
-+ case 0x03: /* A-B A+B */
- ant_conf->fast_div_bias = 0x1;
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x10): /* LNA2 A-B */
-+ case 0x10: /* LNA2 A-B */
- if (!(antcomb->scan) &&
- (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO))
- ant_conf->fast_div_bias = 0x1;
-@@ -1394,12 +1394,12 @@ static void ath_ant_div_conf_fast_divbia
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x12): /* LNA2 LNA1 */
-+ case 0x12: /* LNA2 LNA1 */
- ant_conf->fast_div_bias = 0x1;
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x13): /* LNA2 A+B */
-+ case 0x13: /* LNA2 A+B */
- if (!(antcomb->scan) &&
- (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO))
- ant_conf->fast_div_bias = 0x1;
-@@ -1408,7 +1408,7 @@ static void ath_ant_div_conf_fast_divbia
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x20): /* LNA1 A-B */
-+ case 0x20: /* LNA1 A-B */
- if (!(antcomb->scan) &&
- (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO))
- ant_conf->fast_div_bias = 0x1;
-@@ -1417,12 +1417,12 @@ static void ath_ant_div_conf_fast_divbia
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x21): /* LNA1 LNA2 */
-+ case 0x21: /* LNA1 LNA2 */
- ant_conf->fast_div_bias = 0x1;
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x23): /* LNA1 A+B */
-+ case 0x23: /* LNA1 A+B */
- if (!(antcomb->scan) &&
- (alt_ratio > ATH_ANT_DIV_COMB_ALT_ANT_RATIO))
- ant_conf->fast_div_bias = 0x1;
-@@ -1431,17 +1431,17 @@ static void ath_ant_div_conf_fast_divbia
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x30): /* A+B A-B */
-+ case 0x30: /* A+B A-B */
- ant_conf->fast_div_bias = 0x1;
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x31): /* A+B LNA2 */
-+ case 0x31: /* A+B LNA2 */
- ant_conf->fast_div_bias = 0x1;
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
- break;
-- case (0x32): /* A+B LNA1 */
-+ case 0x32: /* A+B LNA1 */
- ant_conf->fast_div_bias = 0x1;
- ant_conf->main_gaintb = 0;
- ant_conf->alt_gaintb = 0;
-@@ -1449,9 +1449,7 @@ static void ath_ant_div_conf_fast_divbia
- default:
- break;
- }
--
- }
--
- }
-
- /* Antenna diversity and combining */