diff options
author | Kim Schulz <k.schulz@samsung.com> | 2013-09-30 10:55:52 +0200 |
---|---|---|
committer | Zhihai Xu <zhihaixu@google.com> | 2013-12-03 15:18:48 -0800 |
commit | a9eb25c8c01e70613bace21b23a06bd9a10871b1 (patch) | |
tree | ef3a9e650ff6e318590217f8e02a4b7004e0782d /btif/src/btif_hh.c | |
parent | 5d3f77aab397e4496374708db21e71255992c46e (diff) | |
download | android_system_bt-a9eb25c8c01e70613bace21b23a06bd9a10871b1.tar.gz android_system_bt-a9eb25c8c01e70613bace21b23a06bd9a10871b1.tar.bz2 android_system_bt-a9eb25c8c01e70613bace21b23a06bd9a10871b1.zip |
Pairing with dissapeard HID decive never times out (in UI)
- added function to notify the UI about failed HID pairing
patch set2:
- added function header
patch set3:
- break long line
Bug: 10998578
Change-Id: I7314bf07da7ebac7252c6902d987fbca20da2abc
Diffstat (limited to 'btif/src/btif_hh.c')
-rw-r--r-- | btif/src/btif_hh.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/btif/src/btif_hh.c b/btif/src/btif_hh.c index 1c64e3ec3..ee7277d68 100644 --- a/btif/src/btif_hh.c +++ b/btif/src/btif_hh.c @@ -159,6 +159,7 @@ extern BOOLEAN check_cod(const bt_bdaddr_t *remote_bdaddr, uint32_t cod); extern void btif_dm_cb_remove_bond(bt_bdaddr_t *bd_addr); extern BOOLEAN check_cod_hid(const bt_bdaddr_t *remote_bdaddr, uint32_t cod); extern int scru_ascii_2_hex(char *p_ascii, int len, UINT8 *p_hex); +extern void btif_dm_hh_open_failed(bt_bdaddr_t *bdaddr); /***************************************************************************** ** Local Function prototypes @@ -842,6 +843,7 @@ static void btif_hh_upstreams_evt(UINT16 event, char* p_param) } else { bt_bdaddr_t *bdaddr = (bt_bdaddr_t*)p_data->conn.bda; + btif_dm_hh_open_failed(bdaddr); HAL_CBACK(bt_hh_callbacks, connection_state_cb, (bt_bdaddr_t*) &p_data->conn.bda,BTHH_CONN_STATE_DISCONNECTED); btif_hh_cb.status = BTIF_HH_DEV_DISCONNECTED; } |