mirror of
https://github.com/google/bumble.git
synced 2026-05-08 03:58:01 +00:00
fix assert
This commit is contained in:
@@ -3632,7 +3632,7 @@ class Device(CompositeEventEmitter):
|
|||||||
self_address = None
|
self_address = None
|
||||||
if role == HCI_CENTRAL_ROLE:
|
if role == HCI_CENTRAL_ROLE:
|
||||||
own_address_type = self.connect_own_address_type
|
own_address_type = self.connect_own_address_type
|
||||||
assert own_address_type
|
assert own_address_type is not None
|
||||||
else:
|
else:
|
||||||
if self.supports_le_extended_advertising:
|
if self.supports_le_extended_advertising:
|
||||||
# We'll know the address when the advertising set terminates,
|
# We'll know the address when the advertising set terminates,
|
||||||
|
|||||||
Reference in New Issue
Block a user