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/sco.c | |
| parent | 6e35f04700b3ecc4f2b188f7d942eb3cf96a1e4e (diff) | |
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/sco.c')
| -rw-r--r-- | net/bluetooth/sco.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index aacaa27f207..febc83a5c22 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c @@ -948,7 +948,7 @@ static int sco_connect_cfm(struct hci_conn *hcon, __u8 status) if (conn) sco_conn_ready(conn); } else - sco_conn_del(hcon, bt_err(status)); + sco_conn_del(hcon, bt_to_errno(status)); return 0; } @@ -960,7 +960,7 @@ static int sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) if (hcon->type != SCO_LINK && hcon->type != ESCO_LINK) return -EINVAL; - sco_conn_del(hcon, bt_err(reason)); + sco_conn_del(hcon, bt_to_errno(reason)); return 0; } |
