ath10k: stop abusing GFP_DMA
authorFelix Fietkau <nbd@openwrt.org>
Tue, 24 Nov 2015 10:36:52 +0000 (11:36 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 30 Nov 2015 14:54:45 +0000 (16:54 +0200)
commitd6cb23b5147d2efb79a7d99ff019dfa6b4f8ed22
tree279a3b0d76f377ce94429546e8425168949dc3aa
parent78f7aeb08f8f4be3868f4530552f56880fd08b8f
ath10k: stop abusing GFP_DMA

Allocations from the DMA zone were originally added for legacy ISA
stuff, or PCI devices that have specific limitations in their DMA
addressing capabilities. It has no place in ath10k, which can do
full 32-bit DMA.

Fixes memory allocation errors on some platforms.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/htt_tx.c