Bluetooth: Use GFP_KERNEL in mgmt_pending_add
authorAndre Guedes <aguedespe@gmail.com>
Thu, 7 Jun 2012 22:05:45 +0000 (19:05 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 19 Jun 2012 03:53:37 +0000 (00:53 -0300)
commit12b9456502d421a8272615fb641349eb2013b6d8
tree520cbb58cb915faac60f26eaee85243079c5b5b1
parent92c4c2049762dc0ef2b152df8c787051db1cdf60
Bluetooth: Use GFP_KERNEL in mgmt_pending_add

We are allowed to sleep in mgmt_pending_add, so we should use
GFP_KERNEL for memory allocations 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