Turns out that running wifi_station_config() from a network callback can be a Really Really Bad Idea(tm).
Attach a file by drag & drop or click to upload