diff --git a/adafruit_ble/advertising/__init__.py b/adafruit_ble/advertising/__init__.py index bf2060b..a5d681a 100644 --- a/adafruit_ble/advertising/__init__.py +++ b/adafruit_ble/advertising/__init__.py @@ -326,7 +326,7 @@ def matches_prefixes(cls, entry: ScanEntry, *, all_: bool) -> bool: returns ``True`` if at least one of the prefixes match. """ # Returns True if cls.get_prefix_bytes() is empty. - return entry.matches(cls.get_prefix_bytes(), all=all_) + return entry.matches(cls.get_prefix_bytes(), match_all=all_) def __bytes__(self) -> bytes: """The raw packet bytes."""