Skip to content

Commit

Permalink
Merge pull request #634 from jmdietrich-gcx/fix_missing_await_for_upd…
Browse files Browse the repository at this point in the history
…ate_rpa

Add missing await for update_rpa()
  • Loading branch information
barbibulle authored Jan 27, 2025
2 parents afee659 + 2198692 commit 5d80e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bumble/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5d80e7f

Please sign in to comment.