Merge branch 'bugfix/backport_some_wifi_fixes_1009_v3.1' into 'release/v3.1'

esp32: fix some WiFi fixes 1009 (backport v3.1)

See merge request espressif/esp-idf!6297
This commit is contained in:
Jiang Jiang Jian 2019-10-21 20:08:32 +08:00
commit 0c7e7817cb
4 changed files with 2 additions and 27 deletions

View file

@ -543,7 +543,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()
* @attention 2. This API should be called after esp_wifi_start() and 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

View file

@ -171,17 +171,6 @@ esp_err_t esp_wifi_internal_wifi_type_md5_check(const char *md5);
*/
esp_err_t esp_wifi_internal_esp_wifi_md5_check(const char *md5);
/**
* @brief Check the git commit id of WiFi library
*
* @attention 1. It is used for internal CI WiFi library check
*
* @return
* - ESP_OK : succeed
* - ESP_FAIL : fail
*/
esp_err_t esp_wifi_internal_git_commit_id_check(void);
/**
* @brief Allocate a chunk of memory for WiFi driver
*

@ -1 +1 @@
Subproject commit 78088da39dbe2fbb82f6bdd8e6db30cda8d0cd4a
Subproject commit deea532dc8e532f30154193df7ac4087f7d4ab55

View file

@ -1,14 +0,0 @@
/*
Tests for the Wi-Fi
*/
#include "unity.h"
#include "esp_log.h"
#include "esp_wifi_internal.h"
static const char* TAG = "test_wifi_lib_git_commit_id";
TEST_CASE("wifi lib git commit id","[wifi]")
{
TEST_ESP_OK( esp_wifi_internal_git_commit_id_check() );
}