package/mac80211: use platform_data on PCI devices in ath9k
[openwrt.git] / package / mac80211 / patches / 570-ath_use_gfp_dma.patch
1 --- a/drivers/net/wireless/ath/main.c
2 +++ b/drivers/net/wireless/ath/main.c
3 @@ -43,7 +43,7 @@ struct sk_buff *ath_rxbuf_alloc(struct a
4 * Unfortunately this means we may get 8 KB here from the
5 * kernel... and that is actually what is observed on some
6 * systems :( */
7 - skb = __dev_alloc_skb(len + common->cachelsz - 1, gfp_mask);
8 + skb = __dev_alloc_skb(len + common->cachelsz - 1, gfp_mask | GFP_DMA);
9 if (skb != NULL) {
10 off = ((unsigned long) skb->data) % common->cachelsz;
11 if (off != 0)
This page took 0.040224 seconds and 5 git commands to generate.