diff options
author | Joe Perches <joe@perches.com> | 2011-06-29 18:18:29 -0700 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2011-07-11 11:59:26 -0700 |
commit | d8e4f87b5c7261041eca098b3863cd1f8a257bba (patch) | |
tree | ba7eb882c14a880071db001539f1653ba060cd6d /net/bluetooth/l2cap_core.c | |
parent | 6e35f04700b3ecc4f2b188f7d942eb3cf96a1e4e (diff) | |
download | kernel_samsung_tuna-d8e4f87b5c7261041eca098b3863cd1f8a257bba.zip kernel_samsung_tuna-d8e4f87b5c7261041eca098b3863cd1f8a257bba.tar.gz kernel_samsung_tuna-d8e4f87b5c7261041eca098b3863cd1f8a257bba.tar.bz2 |
Bluetooth: Rename function bt_err to bt_to_errno
Make it easier to use more normal logging styles later.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index d3e425d..1f9364f 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -4108,7 +4108,7 @@ static int l2cap_connect_cfm(struct hci_conn *hcon, u8 status) if (conn) l2cap_conn_ready(conn); } else - l2cap_conn_del(hcon, bt_err(status)); + l2cap_conn_del(hcon, bt_to_errno(status)); return 0; } @@ -4132,7 +4132,7 @@ static int l2cap_disconn_cfm(struct hci_conn *hcon, u8 reason) if (!(hcon->type == ACL_LINK || hcon->type == LE_LINK)) return -EINVAL; - l2cap_conn_del(hcon, bt_err(reason)); + l2cap_conn_del(hcon, bt_to_errno(reason)); return 0; } |