Merge branch 'bugfix/set_channel_fail_before_enable_sniffer' into 'master'

wifi: fix issue in setting channel before sniffer is enabled



See merge request !526
This commit is contained in:
Ivan Grokhotkov 2017-02-24 16:15:39 +08:00
commit 1671879b7a
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 * @brief Set primary/secondary channel of ESP32
* *
* @attention 1. This is a special API for sniffer * @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 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 * @param second for HT20, second is ignored, for HT40, second is the second channel

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