Message ID | 20231211162729.1183207-2-xiaokeqinhealth@126.com (mailing list archive) |
---|---|
State | Accepted |
Commit | ba9fda12d26bf4200339da94bc198c6641f98668 |
Headers | show |
Series | [1/2] adapter: Fix addr_type for smp_irk/ltk_info/link_key | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/CheckPatch | success | CheckPatch PASS |
tedd_an/GitLint | success | Gitlint PASS |
tedd_an/IncrementalBuild | success | Incremental Build PASS |
diff --git a/src/device.c b/src/device.c index a734fff0d..17bcfbc49 100644 --- a/src/device.c +++ b/src/device.c @@ -4472,6 +4472,9 @@ void device_set_le_support(struct btd_device *device, uint8_t bdaddr_type) device->le = true; device->bdaddr_type = bdaddr_type; + g_dbus_emit_property_changed(dbus_conn, device->path, + DEVICE_INTERFACE, "AddressType"); + store_device_info(device); }