soypat/cyw43439

JoinWPA2 does not check for succesful connection

Closed this issue · 0 comments

The issue is with wait_for_join which currently blocks for 10 seconds and does not really do anything else.

Connection state should be added to Device and it should be modified on receiving AsyncEvent packets. This would mean JoinWPA2 could return early on a succesful connection and an error if connection fails.