Bluetooth: btusb: Use GFP_KERNEL in btusb_send_frame()
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 14 Sep 2014 05:49:34 +0000 (08:49 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 14 Sep 2014 06:56:46 +0000 (08:56 +0200)
commite9753eff1b875d579dc04d675e72d6e31e866927
treece53b26d615eeba86eae5b62e9a8d960d6118db6
parent9a783a139c32a905825ee0aa9597f485ea461f76
Bluetooth: btusb: Use GFP_KERNEL in btusb_send_frame()

All hdev->send() calls are these days done through a work queue. For the
btusb driver this means the btusb_send_frame() function. Because of this
we can safely use GFP_KERNEL for all memory allocations in this code
path.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c