esp32: fix some WiFi bugs

Fix following WiFi bugs:
1. Fix a crash bug which is caused by WiFi static TX buffer alloc/free.
2. Fix the bug that iphone fails to connect to ESP32 AP by enabling AP BAR receiving.
3. Fix the bug that ESP32 station fails to connect some APs, such as Xiaomi hotspot etc,
   after reset.
This commit is contained in:
Liu Zhi Fu
2019-02-01 11:52:40 +08:00
parent 6e14de0fa8
commit 741f97da4e