summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/315-rt2x00-Remove-invalid-RX-antenna-init-rt2800usb.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-16 19:55:09 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-16 19:55:09 +0000
commit0a7eafa89e8252c6b56633445651888735ea73d3 (patch)
treee802a8a2def0efbb8d4f098b125b3f27a0d45dcd /package/mac80211/patches/315-rt2x00-Remove-invalid-RX-antenna-init-rt2800usb.patch
parentb234ca85f19e0edfe7db759fd8d7a33a82909119 (diff)
downloadmtk-20170518-0a7eafa89e8252c6b56633445651888735ea73d3.zip
mtk-20170518-0a7eafa89e8252c6b56633445651888735ea73d3.tar.gz
mtk-20170518-0a7eafa89e8252c6b56633445651888735ea73d3.tar.bz2
mac80211: add more patches from the rt2x00 git repository
SVN-Revision: 14534
Diffstat (limited to 'package/mac80211/patches/315-rt2x00-Remove-invalid-RX-antenna-init-rt2800usb.patch')
-rw-r--r--package/mac80211/patches/315-rt2x00-Remove-invalid-RX-antenna-init-rt2800usb.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/mac80211/patches/315-rt2x00-Remove-invalid-RX-antenna-init-rt2800usb.patch b/package/mac80211/patches/315-rt2x00-Remove-invalid-RX-antenna-init-rt2800usb.patch
new file mode 100644
index 0000000..3160cf5
--- /dev/null
+++ b/package/mac80211/patches/315-rt2x00-Remove-invalid-RX-antenna-init-rt2800usb.patch
@@ -0,0 +1,20 @@
+From baa4f570de0978ba12be3b8596f063232c54538d Mon Sep 17 00:00:00 2001
+From: Ivo van Doorn <IvDoorn@gmail.com>
+Date: Sun, 8 Feb 2009 12:32:51 +0100
+Subject: [PATCH] rt2x00: Remove invalid RX antenna init (rt2800usb)
+
+Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
+---
+ drivers/net/wireless/rt2x00/rt2800usb.c | 1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+--- a/drivers/net/wireless/rt2x00/rt2800usb.c
++++ b/drivers/net/wireless/rt2x00/rt2800usb.c
+@@ -638,7 +638,6 @@ static void rt2800usb_config_ant(struct
+ switch (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TXPATH)) {
+ case 1:
+ rt2x00_set_field8(&r1, BBP1_TX_ANTENNA, 0);
+- rt2x00_set_field8(&r3, BBP3_RX_ANTENNA, 0);
+ break;
+ case 2:
+ rt2x00_set_field8(&r1, BBP1_TX_ANTENNA, 2);