madwifi: improve the autochannel decision making on systems with multiple cards
[openwrt/openwrt.git] / package / mac80211 / patches / 314-rt2x00-Remove-invalid-RX-antenna-init-rt2800usb.patch
1 From 9a8e2f3909f43e4541ffa63985812aaa6b4c03be Mon Sep 17 00:00:00 2001
2 From: Ivo van Doorn <IvDoorn@gmail.com>
3 Date: Sun, 8 Feb 2009 12:32:51 +0100
4 Subject: [PATCH] rt2x00: Remove invalid RX antenna init (rt2800usb)
5
6 Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
7 ---
8 drivers/net/wireless/rt2x00/rt2800usb.c | 1 -
9 1 files changed, 0 insertions(+), 1 deletions(-)
10
11 --- a/drivers/net/wireless/rt2x00/rt2800usb.c
12 +++ b/drivers/net/wireless/rt2x00/rt2800usb.c
13 @@ -638,7 +638,6 @@ static void rt2800usb_config_ant(struct
14 switch (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TXPATH)) {
15 case 1:
16 rt2x00_set_field8(&r1, BBP1_TX_ANTENNA, 0);
17 - rt2x00_set_field8(&r3, BBP3_RX_ANTENNA, 0);
18 break;
19 case 2:
20 rt2x00_set_field8(&r1, BBP1_TX_ANTENNA, 2);