mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-09 20:31:13 -05:00
wl1271: use __dev_alloc_skb() on RX
RX is handled in a workqueue therefore allocating for GFP_ATOMIC is overkill and not required. Signed-off-by: Luis R. Rodriguez <[email protected]> Acked-by: Luciano Coelho <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
c327d96759
commit
e9a6269d5b
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ static void wl1271_rx_handle_data(struct wl1271 *wl, u32 length)
|
|||
u8 *buf;
|
||||
u8 beacon = 0;
|
||||
|
||||
skb = dev_alloc_skb(length);
|
||||
skb = __dev_alloc_skb(length, GFP_KERNEL);
|
||||
if (!skb) {
|
||||
wl1271_error("Couldn't allocate RX frame");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue