diff options
author | Marcin Kraglak <marcin.kraglak@tieto.com> | 2014-06-17 08:54:50 +0200 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-06-17 14:20:31 +0200 |
commit | b6c68a1da10a4950e2bf63a922c056135f7ea0f8 (patch) | |
tree | adbd52485c569e2c61d4aa9a801520d0ab5b1c17 /android/bluetooth.c | |
parent | 74d70a1548b62aa797f9acba4117d97954dbf7d0 (diff) | |
download | bluez-b6c68a1da10a4950e2bf63a922c056135f7ea0f8.tar.gz |
android/bluetooth: Update bonding state after receiving new CSRK.
Set bonded state if received new CSRK.
Diffstat (limited to 'android/bluetooth.c')
-rw-r--r-- | android/bluetooth.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/bluetooth.c b/android/bluetooth.c index 092bdd74b..56c1282e7 100644 --- a/android/bluetooth.c +++ b/android/bluetooth.c @@ -1992,6 +1992,9 @@ static void new_csrk_callback(uint16_t index, uint16_t length, return; } + update_device_state(dev, ev->key.addr.type, HAL_STATUS_SUCCESS, false, + true, !!ev->store_hint); + if (ev->store_hint) store_csrk(dev); } |