Skip to content

Commit d341d99

Browse files
committed
Fixed a case where a failed onboarding didn't clear the pending_onboard field
1 parent f47fcf8 commit d341d99

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

micronets-gw-service/app/dpp_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ async def onboard_timeout_handler():
139139
else:
140140
asyncio.ensure_future(self.send_dpp_onboard_event(micronet, device, DPPHandler.EVENT_ONBOARDING_FAILED,
141141
f"DPP Authorization failed {dpp_auth_init_cmd.get_command_string()} returned: ({result})"))
142+
self.pending_onboard = None
142143
return '', 200
143144

144145
async def handle_hostapd_cli_event(self, event):

0 commit comments

Comments
 (0)