mac80211: rt2x00: backport accepted and pending patches from upstream
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / rt2x00 / 517-rt2x00-rt2800lib-use-correct-RT-XWI-size-for-RT3883.patch
1 From 11c40fb47c4a4dd6ad060c2ae127ced89ffb9fe1 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Thu, 18 Apr 2013 14:33:33 +0200
4 Subject: [PATCH] rt2x00: rt2800lib: use correct [RT]XWI size for RT3883
5
6 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
7 ---
8 drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 1 +
9 1 file changed, 1 insertion(+)
10
11 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
12 +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
13 @@ -591,6 +591,7 @@ void rt2800_get_txwi_rxwi_size(struct rt
14 {
15 switch (rt2x00dev->chip.rt) {
16 case RT3593:
17 + case RT3883:
18 *txwi_size = TXWI_DESC_SIZE_4WORDS;
19 *rxwi_size = RXWI_DESC_SIZE_5WORDS;
20 break;