Bluetooth: Use GFP_KERNEL in hci_chan_create()
authorAndre Guedes <andre.guedes@openbossa.org>
Mon, 30 Jan 2012 12:22:10 +0000 (09:22 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:30 +0000 (17:01 +0200)
commit75d7735c7a3ddc3842473219460285748d10db11
treefad858e61a75f917f767554f8f14e0e3a57960df
parentcb601d7e65f497a2a172d65b2ef1d738ac6fe4f4
Bluetooth: Use GFP_KERNEL in hci_chan_create()

This function is called in process context only, so it should use
GFP_KERNEL to allocate memory.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_conn.c