Bluetooth: Use GFP_KERNEL in sco_conn_add
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Thu, 11 Apr 2013 14:35:45 +0000 (11:35 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 11 Apr 2013 19:34:17 +0000 (16:34 -0300)
commitc10cc5a9d46ba09111d4c2769207da4a80506885
tree709d404a0f92688b835667b046c19d5aa048fd99
parentea323c119823b48b0a66e48fb980c252e1605b3f
Bluetooth: Use GFP_KERNEL in sco_conn_add

This patch changes the memory allocation flags in the sco_conn_add
function, replacing the type to GFP_KERNEL. This function is executed
in process context and it is not called inside an atomic section.

Signed-off-by: Claudio Takahasi <claudio.takahasi@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/sco.c