]> granicus.if.org Git - esp-idf/commitdiff
rename wifi_set_promiscuous_rx_cb wifi esp_wifi_set_promiscuous_rx_cb
authorliuzhifu <liuzhifu@espressif.com>
Sat, 27 Aug 2016 10:10:01 +0000 (18:10 +0800)
committerliuzhifu <liuzhifu@espressif.com>
Sat, 27 Aug 2016 10:10:01 +0000 (18:10 +0800)
components/esp32/include/esp_wifi.h

index 3ad5fcdedf9ba516eee7cc98720e8d82ba284a01..80434d120c698e329ba2199716c07d856c6a38f1 100755 (executable)
@@ -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);