rt2x00: Use GFP_KERNEL for rx buffer allocation on USB devices
authorHelmut Schaa <helmut.schaa@googlemail.com>
Thu, 19 Apr 2012 11:24:10 +0000 (13:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:35:29 +0000 (15:35 -0400)
commit88211021a67250fd65029d7400f41ee8f91cb25d
tree7dcb1dd566c559dfe6a4d903bfbf47acc0249286
parent0c0fdf6c80d4abd879e8bfaf48a20fd2b37e6c67
rt2x00: Use GFP_KERNEL for rx buffer allocation on USB devices

Since the RX path on USB devices is handled in process context we can
use GFP_KERNEL for RX buffer allocation. This should reduce the
likelihood of allocation failures.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Tested-By: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00pci.c
drivers/net/wireless/rt2x00/rt2x00queue.c
drivers/net/wireless/rt2x00/rt2x00usb.c