OSDN Git Service

Fix data type for rmt_auth_req; it stores an integral value.
authorSharvil Nanavati <sharvil@google.com>
Sat, 3 May 2014 19:11:15 +0000 (12:11 -0700)
committerSharvil Nanavati <sharvil@google.com>
Thu, 8 May 2014 03:36:47 +0000 (03:36 +0000)
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

index 913e253..86ffa5a 100644 (file)
@@ -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 */