esp32: fix some bugs of modem sleep

1. Keep awake to receive beacon at TBTT time no matter which state
   station is on.

2. If there is any packet to send on dream or sleep state, send NULL
   data with power save bit clear first.
This commit is contained in:
Liu Zhi Fu
2018-09-13 11:37:46 +08:00
parent 773fb42a3a
commit 9121ba22e9