diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-01-25 13:33:34 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-01-25 13:33:34 +0000 |
commit | c198a513980a3e837967934e305eb65fef196826 (patch) | |
tree | 86b8bf8a6e07b5f752ff8417041ce657fcda8a82 /package/mac80211/patches/313-rt2x00-Add-TXWI-to-DMA-size-rt2800usb.patch | |
parent | 87db54da68aa2614122a0f2f2d4c79722dad2bb9 (diff) | |
download | mtk-20170518-c198a513980a3e837967934e305eb65fef196826.zip mtk-20170518-c198a513980a3e837967934e305eb65fef196826.tar.gz mtk-20170518-c198a513980a3e837967934e305eb65fef196826.tar.bz2 |
mac80211: update compat-wireless to 2009-01-24 (patch by Hauke Mehrtens <hauke@hauke-m.de>)
SVN-Revision: 14172
Diffstat (limited to 'package/mac80211/patches/313-rt2x00-Add-TXWI-to-DMA-size-rt2800usb.patch')
-rw-r--r-- | package/mac80211/patches/313-rt2x00-Add-TXWI-to-DMA-size-rt2800usb.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/package/mac80211/patches/313-rt2x00-Add-TXWI-to-DMA-size-rt2800usb.patch b/package/mac80211/patches/313-rt2x00-Add-TXWI-to-DMA-size-rt2800usb.patch deleted file mode 100644 index 1ccae4d..0000000 --- a/package/mac80211/patches/313-rt2x00-Add-TXWI-to-DMA-size-rt2800usb.patch +++ /dev/null @@ -1,22 +0,0 @@ -From fa9b5f135ba5e7877d1e3e970d39fcfa07f4004b Mon Sep 17 00:00:00 2001 -From: Ivo van Doorn <IvDoorn@gmail.com> -Date: Sat, 10 Jan 2009 20:07:13 +0100 -Subject: [PATCH] rt2x00: Add TXWI to DMA size (rt2800usb) - -Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> ---- - drivers/net/wireless/rt2x00/rt2800usb.c | 3 ++- - 1 files changed, 2 insertions(+), 1 deletions(-) - ---- a/drivers/net/wireless/rt2x00/rt2800usb.c -+++ b/drivers/net/wireless/rt2x00/rt2800usb.c -@@ -1684,7 +1684,8 @@ static void rt2800usb_write_tx_desc(stru - * Initialize TX descriptor - */ - rt2x00_desc_read(txi, 0, &word); -- rt2x00_set_field32(&word, TXINFO_W0_USB_DMA_TX_PKT_LEN, skb->len); -+ rt2x00_set_field32(&word, TXINFO_W0_USB_DMA_TX_PKT_LEN, -+ roundup(skb->len + TXWI_DESC_SIZE, 4)); - rt2x00_set_field32(&word, TXINFO_W0_WIV, 1); - rt2x00_set_field32(&word, TXINFO_W0_QSEL, 2); - rt2x00_set_field32(&word, TXINFO_W0_SW_USE_LAST_ROUND, 0); |