diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-02-16 19:55:09 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-02-16 19:55:09 +0000 |
commit | 0a7eafa89e8252c6b56633445651888735ea73d3 (patch) | |
tree | e802a8a2def0efbb8d4f098b125b3f27a0d45dcd /package/mac80211/patches/318-rt2x00-Remove-check-for-rf-word-0-rt2800usb.patch | |
parent | b234ca85f19e0edfe7db759fd8d7a33a82909119 (diff) | |
download | mtk-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/318-rt2x00-Remove-check-for-rf-word-0-rt2800usb.patch')
-rw-r--r-- | package/mac80211/patches/318-rt2x00-Remove-check-for-rf-word-0-rt2800usb.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/mac80211/patches/318-rt2x00-Remove-check-for-rf-word-0-rt2800usb.patch b/package/mac80211/patches/318-rt2x00-Remove-check-for-rf-word-0-rt2800usb.patch new file mode 100644 index 0000000..dcc90c7 --- /dev/null +++ b/package/mac80211/patches/318-rt2x00-Remove-check-for-rf-word-0-rt2800usb.patch @@ -0,0 +1,36 @@ +From ff7c5c649466a5cf887eb5ee4eb9fd3fb9598069 Mon Sep 17 00:00:00 2001 +From: Ivo van Doorn <IvDoorn@gmail.com> +Date: Sun, 8 Feb 2009 17:08:54 +0100 +Subject: [PATCH] rt2x00: Remove check for rf word 0 (rt2800usb) + +Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> +--- + drivers/net/wireless/rt2x00/rt2800usb.c | 3 --- + drivers/net/wireless/rt2x00/rt2800usb.h | 4 ++-- + 2 files changed, 2 insertions(+), 5 deletions(-) + +--- a/drivers/net/wireless/rt2x00/rt2800usb.c ++++ b/drivers/net/wireless/rt2x00/rt2800usb.c +@@ -182,9 +182,6 @@ static void rt2800usb_rf_write(struct rt + { + u32 reg; + +- if (!word) +- return; +- + mutex_lock(&rt2x00dev->csr_mutex); + + /* +--- a/drivers/net/wireless/rt2x00/rt2800usb.h ++++ b/drivers/net/wireless/rt2x00/rt2800usb.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. |