Bluetooth: return proper error if sock_queue_rcv_skb() fails
authorGustavo F. Padovan <padovan@profusion.mobi>
Fri, 14 Oct 2011 22:20:01 +0000 (19:20 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 14 Oct 2011 22:20:01 +0000 (19:20 -0300)
commit56b7d137855eb02cba8aecbb67d49c24b43644b0
tree90bb9f0242a452dee0db1acb1ecc289ff44b0e46
parent33ca954daf1ac03c86237b73235d8b0856d84981
Bluetooth: return proper error if sock_queue_rcv_skb() fails

Improve error handling at cmd_status() and cmd_complete()

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c