bluetooth.h: fix typo in SM_REASON_PASSKEY_ENTRY_FAILED

This commit is contained in:
Matthias Ringwald 2018-02-01 15:55:15 +01:00
parent 6420f61ec7
commit 16a1a3e5b4
2 changed files with 3 additions and 3 deletions

View File

@ -3724,7 +3724,7 @@ static void sm_pdu_handler(uint8_t packet_type, hci_con_handle_t con_handle, uin
// handle user cancel pairing?
if (setup->sm_user_response == SM_USER_RESPONSE_DECLINE){
setup->sm_pairing_failed_reason = SM_REASON_PASSKEYT_ENTRY_FAILED;
setup->sm_pairing_failed_reason = SM_REASON_PASSKEY_ENTRY_FAILED;
sm_conn->sm_engine_state = SM_GENERAL_SEND_PAIRING_FAILED;
break;
}

View File

@ -1200,7 +1200,7 @@ typedef enum {
// Pairing Failed Reasons
#define SM_REASON_RESERVED 0x00
#define SM_REASON_PASSKEYT_ENTRY_FAILED 0x01
#define SM_REASON_PASSKEY_ENTRY_FAILED 0x01
#define SM_REASON_OOB_NOT_AVAILABLE 0x02
#define SM_REASON_AUTHENTHICATION_REQUIREMENTS 0x03
#define SM_REASON_CONFIRM_VALUE_FAILED 0x04
@ -1224,4 +1224,4 @@ typedef enum {
#define SM_KEYPRESS_PASSKEY_ENTRY_COMPLETED 0x04
#endif
#endif