Bluetooth: Use the proper error value from bt_skb_send_alloc()
authorGustavo F. Padovan <padovan@profusion.mobi>
Fri, 24 Sep 2010 23:30:57 +0000 (20:30 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 12 Oct 2010 15:44:52 +0000 (12:44 -0300)
commit0175d629e096a5a59dde6cc91b32ac3160a44b9e
tree32bcc77b1c99d42338064b4d5d5aa6ffae6c0759
parentd6b2eb2f893547d7488d31a7088d78dd77ab5995
Bluetooth: Use the proper error value from bt_skb_send_alloc()

&err points to the proper error set by bt_skb_send_alloc() when it
fails.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap.c