diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-07-20 16:32:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-07-20 16:32:43 +0000 |
commit | da85c64a1c6d6b1a20e41de2e5e2b5083f2fb88d (patch) | |
tree | b9858b32b2125f60afd2953326753862b7c326fe /package/ath9k | |
parent | fba1d071c709f604f4fabc7948fa789d18e8b0f6 (diff) | |
download | upstream-da85c64a1c6d6b1a20e41de2e5e2b5083f2fb88d.tar.gz upstream-da85c64a1c6d6b1a20e41de2e5e2b5083f2fb88d.tar.bz2 upstream-da85c64a1c6d6b1a20e41de2e5e2b5083f2fb88d.zip |
add another endianness fix for ath9k, ar9160 now works on ixp4xx, at least in sta mode :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11886 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ath9k')
-rw-r--r-- | package/ath9k/patches/150-txq_endian.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/ath9k/patches/150-txq_endian.patch b/package/ath9k/patches/150-txq_endian.patch new file mode 100644 index 0000000000..11bb388154 --- /dev/null +++ b/package/ath9k/patches/150-txq_endian.patch @@ -0,0 +1,16 @@ +This patch fixes another endianness issue. +DMA descriptors must always be accessed in native endianness. + +Signed-off-by: Felix Fietkau <nbd@openwrt.org> + +--- a/drivers/net/wireless/ath9k/xmit.c ++++ b/drivers/net/wireless/ath9k/xmit.c +@@ -168,7 +168,7 @@ + __func__, txq->axq_qnum, + ito64(bf->bf_daddr), bf->bf_desc); + } else { +- *txq->axq_link = cpu_to_le32(bf->bf_daddr); ++ *txq->axq_link = bf->bf_daddr; + DPRINTF(sc, ATH_DEBUG_XMIT, "%s: link[%u] (%p)=%llx (%p)\n", + __func__, + txq->axq_qnum, txq->axq_link, |