mac80211: set the country code through iw reg, setting it only through hostapd appare...
[openwrt.git] / package / mac80211 / patches / 510-ath_use_gfp_dma.patch
1 --- a/drivers/net/wireless/ath/main.c
2 +++ b/drivers/net/wireless/ath/main.c
3 @@ -31,6 +31,14 @@ struct sk_buff *ath_rxbuf_alloc(struct a
4 u32 off;
5
6 /*
7 + * Enable GFP_DMA in order to avoid using DMA bounce buffers
8 + * on IXP4xx devices with more than 64M RAM
9 + */
10 +#ifdef CONFIG_ARCH_IXP4XX
11 + gfp_mask |= GFP_DMA;
12 +#endif
13 +
14 + /*
15 * Cache-line-align. This is important (for the
16 * 5210 at least) as not doing so causes bogus data
17 * in rx'd frames.
This page took 0.04158 seconds and 5 git commands to generate.