diff --git a/bumble/device.py b/bumble/device.py index e58d9424..0f9d9a78 100644 --- a/bumble/device.py +++ b/bumble/device.py @@ -2509,7 +2509,7 @@ async def _run_rpa_periodic_update(self) -> None: """Update the RPA periodically""" while self.le_rpa_timeout != 0: await asyncio.sleep(self.le_rpa_timeout) - if not self.update_rpa(): + if not await self.update_rpa(): logger.debug("periodic RPA update failed") async def refresh_resolving_list(self) -> None: