Correctly access WIFI_EVENT_MODE_CHANGE event info (#8343)
Correctly access WIFI_EVENT_MODE_CHANGE event info (#8343)

Select the specific union member struct fields.

Co-authored-by: Rastislav Hričák <b106c14dc80662088ba5508dbf458ea1a3c172a9@users.noreply.github.com>
sticilface/Arduino,esp8266/Arduino,sticilface/Arduino,sticilface/Arduino,esp8266/Arduino,esp8266/Arduino,sticilface/Arduino,esp8266/Arduino,esp8266/Arduino,sticilface/Arduino