Bluetooth: Use ERR_PTR as return error from hci_connect
authorVille Tervo <ville.tervo@nokia.com>
Tue, 22 Feb 2011 19:10:53 +0000 (16:10 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Sun, 27 Feb 2011 20:11:29 +0000 (17:11 -0300)
commit30e7627219f985cd17a1ac24e0163ebcfb1277bf
treef4c6688dff4b74d42327ca43b4660b9848c40b01
parentbdce7bafb786701004b2055e15d6ff4b3be678f3
Bluetooth: Use ERR_PTR as return error from hci_connect

Use ERR_PTR mechanism to return error from hci_connect.

Signed-off-by: Ville Tervo <ville.tervo@nokia.com>
Signed-off-by: Anderson Briglia <anderson.briglia@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_conn.c
net/bluetooth/l2cap_core.c
net/bluetooth/mgmt.c
net/bluetooth/sco.c