src/device.c: Fix crash issue during bonding 95/300195/3 accepted/tizen/unified/20231106.171628
authorWootak Jung <wootak.jung@samsung.com>
Wed, 18 Oct 2023 07:54:13 +0000 (16:54 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 18 Oct 2023 08:11:00 +0000 (17:11 +0900)
commit2bdb090d8dde0c6edd40cf06b5b3f523c563aa68
tree89b5e38bf7944a04241195618ac9d4835463d192
parent3f8d974b146b8470bc6ae1a6b037825d8072835c
src/device.c: Fix crash issue during bonding

Usage of rpa_addr and rpa is mixed during upgrade

src/adapter.c:bonding_attempt_complete() hci0 bdaddr 94:8B:C1:14:D4:9B type 0 status 0x0
src/device.c:device_bonding_complete() bonding (nil) status 0x00
src/adapter.c:mgmt_debug() src/shared/mgmt.c:can_read_data() [0x0000] event 0x0018
src/adapter.c:new_irk_callback() hci0 new IRK for 94:8B:C1:14:D4:9B RPA 00:00:00:00:00:00
Jan 01 09:09:37 localhost audit[4350]: ANOM_ABEND auid=4294967295 uid=551 gid=551 ses=4294967295 subj=System pid=4350 comm="bluetoothd" exe="/usr/libexec/bluetooth/bluetoothd" sig=11 res=1

Change-Id: I4b67e1fe2728391fe8cb3339e7784748d00861a0
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/device.c