brcm-2.4: potential fix for pptp nat
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 303-rt2x00-Allocate-DMA-rt2800pci.patch
1 From ff3453072abf45ccf05e83f69c69951f3d7f7160 Mon Sep 17 00:00:00 2001
2 From: Ivo van Doorn <IvDoorn@gmail.com>
3 Date: Sun, 26 Apr 2009 17:35:38 +0200
4 Subject: [PATCH 3/4] rt2x00: Allocate DMA (rt2800pci)
5
6 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
7 Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
8 ---
9 drivers/net/wireless/rt2x00/rt2800pci.c | 1 +
10 1 files changed, 1 insertions(+), 0 deletions(-)
11
12 --- a/drivers/net/wireless/rt2x00/rt2800pci.c
13 +++ b/drivers/net/wireless/rt2x00/rt2800pci.c
14 @@ -2906,6 +2906,7 @@ static int rt2800pci_probe_hw(struct rt2
15 if (!rt2x00_rt(&rt2x00dev->chip, RT2880) &&
16 !rt2x00_rt(&rt2x00dev->chip, RT3052))
17 __set_bit(DRIVER_REQUIRE_FIRMWARE, &rt2x00dev->flags);
18 + __set_bit(DRIVER_REQUIRE_DMA, &rt2x00dev->flags);
19 __set_bit(DRIVER_REQUIRE_L2PAD, &rt2x00dev->flags);
20 if (!modparam_nohwcrypt)
21 __set_bit(CONFIG_SUPPORT_HW_CRYPTO, &rt2x00dev->flags);