wifi: Avoid recalculating PMK when esp_wifi_set_config is not called

Scenarios where this fix is applicable.
1) Every time the system is powered-on/restarted without calling
   esp_wifi_set_config.
2) esp_wifi_init()/connect()/stop()/deinit() is called multiple
   times without esp_wifi_set_config.

Closes IDFGH-1520
This commit is contained in:
Sagar Bijwe
2019-08-08 16:02:33 +05:30
parent d260ee6955
commit b1f657fc65