Bluetooth: Use GFP_KERNEL in mgmt events functions
authorAndre Guedes <aguedespe@gmail.com>
Thu, 7 Jun 2012 22:05:46 +0000 (19:05 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 19 Jun 2012 03:53:38 +0000 (00:53 -0300)
commit790eff4429e45b850859f1bb8117846dafd5f86a
tree1302668439c368f19152293fe49c97a49afcee83
parent12b9456502d421a8272615fb641349eb2013b6d8
Bluetooth: Use GFP_KERNEL in mgmt events functions

cmd_status, cmd_complete and mgmt_event functions are executed in
process context and they are not called inside atomic sections. Thus,
they should use GFP_KERNEL for memory allocation instead of GFP_ATOMIC.

Signed-off-by: Andre Guedes <aguedespe@gmail.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c