From d79f3a2dcb9520dca9be00c0c78dc96d3ba593b5 Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 16 Feb 2009 19:55:09 +0000 Subject: [package] mac80211: add more patches from the rt2x00 git repository git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14534 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...2x00-Remove-check-for-rf-word-0-rt2800pci.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/mac80211/patches/317-rt2x00-Remove-check-for-rf-word-0-rt2800pci.patch (limited to 'package/mac80211/patches/317-rt2x00-Remove-check-for-rf-word-0-rt2800pci.patch') diff --git a/package/mac80211/patches/317-rt2x00-Remove-check-for-rf-word-0-rt2800pci.patch b/package/mac80211/patches/317-rt2x00-Remove-check-for-rf-word-0-rt2800pci.patch new file mode 100644 index 000000000..62b2e1759 --- /dev/null +++ b/package/mac80211/patches/317-rt2x00-Remove-check-for-rf-word-0-rt2800pci.patch @@ -0,0 +1,36 @@ +From 0ae19587caba638b15ca8ea735a21d148459bd47 Mon Sep 17 00:00:00 2001 +From: Ivo van Doorn +Date: Sun, 8 Feb 2009 17:08:28 +0100 +Subject: [PATCH] rt2x00: Remove check for rf word 0 (rt2800pci) + +Signed-off-by: Ivo van Doorn +--- + drivers/net/wireless/rt2x00/rt2800pci.c | 3 --- + drivers/net/wireless/rt2x00/rt2800pci.h | 4 ++-- + 2 files changed, 2 insertions(+), 5 deletions(-) + +--- a/drivers/net/wireless/rt2x00/rt2800pci.c ++++ b/drivers/net/wireless/rt2x00/rt2800pci.c +@@ -125,9 +125,6 @@ static void rt2800pci_rf_write(struct rt + { + u32 reg; + +- if (!word) +- return; +- + mutex_lock(&rt2x00dev->csr_mutex); + + /* +--- a/drivers/net/wireless/rt2x00/rt2800pci.h ++++ b/drivers/net/wireless/rt2x00/rt2800pci.h +@@ -68,8 +68,8 @@ + #define EEPROM_SIZE 0x0110 + #define BBP_BASE 0x0000 + #define BBP_SIZE 0x0080 +-#define RF_BASE 0x0000 +-#define RF_SIZE 0x0014 ++#define RF_BASE 0x0004 ++#define RF_SIZE 0x0010 + + /* + * Number of TX queues. -- cgit v1.2.3