]> granicus.if.org Git - esp-idf/commitdiff
components/esp32: refractor according to review comments
authorliuzhifu <liuzhifu@espressif.com>
Wed, 26 Oct 2016 13:50:15 +0000 (21:50 +0800)
committerliuzhifu <liuzhifu@espressif.com>
Wed, 26 Oct 2016 13:50:15 +0000 (21:50 +0800)
modify esp_wifi_kick_sta to esp_wifi_deauth_sta

components/esp32/include/esp_wifi.h
components/esp32/lib

index 6fc9d896acb6a43641fbce08e453ad01ed761165..7cfff6ee019ae1c3c118c574909324b1a2b56b29 100644 (file)
@@ -191,14 +191,14 @@ esp_err_t esp_wifi_disconnect(void);
 esp_err_t esp_wifi_clear_fast_connect(void);
 
 /**
-  * @brief     Kick the all station or associated id equals to aid
+  * @brief     deauthenticate all stations or associated id equals to aid
   *
-  * @param     uint16_t aid : when aid is 0, kick all stations, otherwise kick station whose associated id is aid
+  * @param     uint16_t aid : when aid is 0, deauthenticate all stations, otherwise deauthenticate station whose associated id is aid
   *
   * @return    ESP_OK : succeed
   * @return    others : fail
   */
-esp_err_t esp_wifi_kick_sta(uint16_t aid);
+esp_err_t esp_wifi_deauth_sta(uint16_t aid);
 
 /**
   * @brief     Scan all available APs.
index 02063e8d40f72933622b2eafd78ce968085b0047..b9561aa5db15443d11f8bb5aefdfc5da540d8f2d 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 02063e8d40f72933622b2eafd78ce968085b0047
+Subproject commit b9561aa5db15443d11f8bb5aefdfc5da540d8f2d