Bluetooth: Use GFP_KERNEL in hci_add_adv_entry()
authorAndre Guedes <aguedespe@gmail.com>
Tue, 31 Jan 2012 02:31:28 +0000 (23:31 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:31 +0000 (17:01 +0200)
commit4777bfdebbddc1f58d9148de5a3e00375d063768
tree978361cf0f218ee1a8c72a2d73ef43e30b17a0d6
parentf7aa611a0ecf1d22f21e26279e1a3baf1db6b973
Bluetooth: Use GFP_KERNEL in hci_add_adv_entry()

This function is not called in interrupt context anymore, so it
should use GFP_KERNEL to allocate memory.

Signed-off-by: Andre Guedes <aguedespe@gmail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c