wifi: fix issue in setting channel before sniffer is enabled

This commit is contained in:
qiyueixa 2017-02-24 15:19:31 +08:00
parent 36b3963efb
commit ff81e17504
2 changed files with 2 additions and 1 deletions

View File

@ -422,6 +422,7 @@ esp_err_t esp_wifi_get_bandwidth(wifi_interface_t ifx, wifi_bandwidth_t *bw);
* @brief Set primary/secondary channel of ESP32
*
* @attention 1. This is a special API for sniffer
* @attention 2. This API should be called after esp_wifi_start() or esp_wifi_set_promiscuous()
*
* @param primary for HT20, primary is the channel number, for HT40, primary is the primary channel
* @param second for HT20, second is ignored, for HT40, second is the second channel

@ -1 +1 @@
Subproject commit ed85cf9156f2ef358c29d07fb849a73c5758eecb
Subproject commit 0be74cb72fba4502a685c9f0df26689592018f78