Mahavir Jain f45dbd1f97
esp_wifi: netif: set interface before registering Wi-Fi driver RX callback
If appropriate interface is not set then RX callback can potentially dereference
null pointer from `s_wifi_netifs` table. This in-fact resulted in `LoadProhibited` exception
in HTTP server example test case.

Order here for setting interface and then registering callback was correct but
it was modified in 0e71a325de309400b68f018da7df52f1890c57ba causing this regression.
2022-07-06 09:03:08 +05:30
..
2021-10-12 14:05:19 +08:00
2019-07-05 21:14:30 +08:00