diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-11-22 07:13:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-11-22 07:13:30 +0000 |
commit | e4489675b560ba14e74ed760f0ee9b96923ecad8 (patch) | |
tree | 57641e00bf9b06481b08a226ca91343041ba881c /package/mac80211/patches/510-ath_use_gfp_dma.patch | |
parent | f1da5431bb3e440f3d1337a8ec08cc09611a1550 (diff) | |
download | master-31e0f0ae-e4489675b560ba14e74ed760f0ee9b96923ecad8.tar.gz master-31e0f0ae-e4489675b560ba14e74ed760f0ee9b96923ecad8.tar.bz2 master-31e0f0ae-e4489675b560ba14e74ed760f0ee9b96923ecad8.zip |
mac80211: update to compat-wireless 2009-11-21
SVN-Revision: 18465
Diffstat (limited to 'package/mac80211/patches/510-ath_use_gfp_dma.patch')
-rw-r--r-- | package/mac80211/patches/510-ath_use_gfp_dma.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/510-ath_use_gfp_dma.patch b/package/mac80211/patches/510-ath_use_gfp_dma.patch new file mode 100644 index 0000000000..af375b151b --- /dev/null +++ b/package/mac80211/patches/510-ath_use_gfp_dma.patch @@ -0,0 +1,11 @@ +--- a/drivers/net/wireless/ath/main.c ++++ b/drivers/net/wireless/ath/main.c +@@ -43,7 +43,7 @@ struct sk_buff *ath_rxbuf_alloc(struct a + * Unfortunately this means we may get 8 KB here from the + * kernel... and that is actually what is observed on some + * systems :( */ +- skb = __dev_alloc_skb(len + common->cachelsz - 1, gfp_mask); ++ skb = __dev_alloc_skb(len + common->cachelsz - 1, gfp_mask | GFP_DMA); + if (skb != NULL) { + off = ((unsigned long) skb->data) % common->cachelsz; + if (off != 0) |