[package] mac80211: update compat-wireless to 2009-02-19
[openwrt.git] / package / mac80211 / patches / 317-rt2x00-Remove-check-for-rf-word-0-rt2800pci.patch
1 From 0ae19587caba638b15ca8ea735a21d148459bd47 Mon Sep 17 00:00:00 2001
2 From: Ivo van Doorn <IvDoorn@gmail.com>
3 Date: Sun, 8 Feb 2009 17:08:28 +0100
4 Subject: [PATCH] rt2x00: Remove check for rf word 0 (rt2800pci)
5
6 Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
7 ---
8 drivers/net/wireless/rt2x00/rt2800pci.c | 3 ---
9 drivers/net/wireless/rt2x00/rt2800pci.h | 4 ++--
10 2 files changed, 2 insertions(+), 5 deletions(-)
11
12 --- a/drivers/net/wireless/rt2x00/rt2800pci.c
13 +++ b/drivers/net/wireless/rt2x00/rt2800pci.c
14 @@ -125,9 +125,6 @@ static void rt2800pci_rf_write(struct rt
15 {
16 u32 reg;
17
18 - if (!word)
19 - return;
20 -
21 mutex_lock(&rt2x00dev->csr_mutex);
22
23 /*
24 --- a/drivers/net/wireless/rt2x00/rt2800pci.h
25 +++ b/drivers/net/wireless/rt2x00/rt2800pci.h
26 @@ -68,8 +68,8 @@
27 #define EEPROM_SIZE 0x0110
28 #define BBP_BASE 0x0000
29 #define BBP_SIZE 0x0080
30 -#define RF_BASE 0x0000
31 -#define RF_SIZE 0x0014
32 +#define RF_BASE 0x0004
33 +#define RF_SIZE 0x0010
34
35 /*
36 * Number of TX queues.
This page took 0.042414 seconds and 5 git commands to generate.