diff options
author | Harish Paryani <hparyani@broadcom.com> | 2012-04-24 14:27:41 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-14 11:19:18 -0700 |
commit | 8100af272c43a887d28663dd64c02c97e9da4a74 (patch) | |
tree | 15ae34ba27d8c3c6c74e7b07c3d8b114bdd0e382 | |
parent | 7b7aa6c5a9498e9e3ac3c6f16ee9164268314f60 (diff) | |
download | external_bluetooth_bluedroid-8100af272c43a887d28663dd64c02c97e9da4a74.zip external_bluetooth_bluedroid-8100af272c43a887d28663dd64c02c97e9da4a74.tar.gz external_bluetooth_bluedroid-8100af272c43a887d28663dd64c02c97e9da4a74.tar.bz2 |
Device with temporary link key is marked as "not paired".
Change-Id: I2d7b94a14b2bd1108b1905a379320fac7ee70ff6
-rwxr-xr-x[-rw-r--r--] | btif/src/btif_dm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c index 4c0c15a..b74b734 100644..100755 --- a/btif/src/btif_dm.c +++ b/btif/src/btif_dm.c @@ -254,6 +254,10 @@ static void bond_state_changed(bt_status_t status, bt_bdaddr_t *bd_addr, bt_bond if ( (pairing_cb.state == state) && (state == BT_BOND_STATE_BONDING) ) return; + if (pairing_cb.is_temp) + { + state = BT_BOND_STATE_NONE; + } BTIF_TRACE_DEBUG3("%s: state=%d prev_state=%d", __FUNCTION__, state, pairing_cb.state); HAL_CBACK(bt_hal_cbacks, bond_state_changed_cb, status, bd_addr, state); |