Bluetooth: Host: Rename long error codes

Rename AUTHENTICATION, to AUTH, since this is a well established short
form of the word.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2019-08-26 17:27:54 +02:00 committed by Carles Cufí
commit 3320b51644
7 changed files with 16 additions and 15 deletions

View file

@ -2457,7 +2457,7 @@ int bt_conn_auth_cancel(struct bt_conn *conn)
return ssp_passkey_neg_reply(conn);
case PASSKEY_DISPLAY:
return bt_conn_disconnect(conn,
BT_HCI_ERR_AUTHENTICATION_FAIL);
BT_HCI_ERR_AUTH_FAIL);
case LEGACY:
return pin_code_neg_reply(&conn->br.dst);
default: