From 10266fdad65bb8e378d2fa49de8e1368a91d7270 Mon Sep 17 00:00:00 2001 From: Sharvil Nanavati Date: Sat, 3 May 2014 12:11:15 -0700 Subject: [PATCH] Fix data type for rmt_auth_req; it stores an integral value. This broke pairing in a bunch of ways, most notably the inability to use Just Works pairing mode. Just Works is used quite heavily by iOS devices. http://b/14438257 Change-Id: I4d32b446d0435acfc73987b91dbd1a0bd3b53ec3 --- stack/btm/btm_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack/btm/btm_int.h b/stack/btm/btm_int.h index 913e253aa..86ffa5a4f 100644 --- a/stack/btm/btm_int.h +++ b/stack/btm/btm_int.h @@ -601,7 +601,7 @@ typedef struct #define BTM_SM4_CONN_PEND 0x40 /* set this bit to indicate accepting acl conn; to be cleared on btm_acl_created */ UINT8 sm4; /* BTM_SM4_TRUE, if the peer supports SM4 */ tBTM_IO_CAP rmt_io_caps; /* IO capability of the peer device */ - BOOLEAN rmt_auth_req; /* the auth_req flag as in the IO caps rsp evt */ + tBTM_AUTH_REQ rmt_auth_req; /* the auth_req flag as in the IO caps rsp evt */ #if (BLE_INCLUDED == TRUE) UINT16 ble_hci_handle; /* use in DUMO connection */ -- 2.11.0