From: qiyueixa Date: Fri, 24 Feb 2017 07:19:31 +0000 (+0800) Subject: wifi: fix issue in setting channel before sniffer is enabled X-Git-Tag: v2.0-rc2~36^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff81e1750449474e710b5dc291c017bbd59d7bb3;p=esp-idf wifi: fix issue in setting channel before sniffer is enabled --- diff --git a/components/esp32/include/esp_wifi.h b/components/esp32/include/esp_wifi.h index 0f7e2996e8..9f3b1ed70d 100755 --- a/components/esp32/include/esp_wifi.h +++ b/components/esp32/include/esp_wifi.h @@ -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 diff --git a/components/esp32/lib b/components/esp32/lib index ed85cf9156..0be74cb72f 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit ed85cf9156f2ef358c29d07fb849a73c5758eecb +Subproject commit 0be74cb72fba4502a685c9f0df26689592018f78