use correct own_address_type when restarting advertising

This commit is contained in:
Gilles Boccon-Gibod
2023-09-22 10:33:36 -07:00
parent d290df4aa9
commit f6c7cae661

View File

@@ -2758,7 +2758,9 @@ class Device(CompositeEventEmitter):
self.abort_on(
'flush',
self.start_advertising(
advertising_type=self.advertising_type, auto_restart=True
advertising_type=self.advertising_type,
own_address_type=self.advertising_own_address_type,
auto_restart=True,
),
)