From: liuzhifu Date: Sat, 27 Aug 2016 10:10:01 +0000 (+0800) Subject: rename wifi_set_promiscuous_rx_cb wifi esp_wifi_set_promiscuous_rx_cb X-Git-Tag: v0.9~69^2~5^2~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be87f3853264c2cf7504d3f8114c213434a9dc7a;p=esp-idf rename wifi_set_promiscuous_rx_cb wifi esp_wifi_set_promiscuous_rx_cb --- diff --git a/components/esp32/include/esp_wifi.h b/components/esp32/include/esp_wifi.h index 3ad5fcdedf..80434d120c 100755 --- a/components/esp32/include/esp_wifi.h +++ b/components/esp32/include/esp_wifi.h @@ -188,7 +188,7 @@ esp_err_t esp_wifi_get_mac(wifi_interface_t ifx, uint8_t mac[6]); typedef void (* wifi_promiscuous_cb_t)(void *buf, uint16_t len); -wifi_promiscuous_cb_t wifi_set_promiscuous_rx_cb(wifi_promiscuous_cb_t cb); +esp_err_t esp_wifi_set_promiscuous_rx_cb(wifi_promiscuous_cb_t cb); esp_err_t esp_wifi_set_promiscuous(uint8_t enable);