diff options
author | Glenn Moloney <glenn.moloney@gmail.com> | 2023-07-01 13:54:44 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-07-13 11:49:14 +1000 |
commit | dbced75b48d2fed969e4ee430a50cadf858eb4bf (patch) | |
tree | 5b184db3552b61e062908a63f742772dd3ff1a6d /docs/esp32 | |
parent | 2c67671651651363fc6f89a334508d0029758eef (diff) | |
download | micropython-dbced75b48d2fed969e4ee430a50cadf858eb4bf.tar.gz micropython-dbced75b48d2fed969e4ee430a50cadf858eb4bf.zip |
esp32/network_wlan: Wait for STA/AP START/STOP event in wlan.active.
This is a fix for commit bccbaa92b1fc6237f0f49a7f07cc194835fbf4e3:
- Should only wait for WIFI_EVENT_STA_START when invoked on the STA_IF
interface.
- The WIFI_EVENT_STA_START event is generated every time the STA_IF
interface is set active(True) and it was previously inactive, ie. not
only after calling esp_wifi_start().
- Also wait for WIFI_EVENT_STA_STOP when deactivating the interface.
- Also wait for relevant AP events.
Fixes issue #11910.
Signed-off-by: Glenn Moloney <glenn.moloney@gmail.com>
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'docs/esp32')
0 files changed, 0 insertions, 0 deletions