Merge branch 'bugfix/fix_vendor_ie_and_espnow_issues_v5.2' into 'release/v5.2'

fix vendor ie and espnow issues (v5.2)

See merge request espressif/esp-idf!45437
This commit is contained in:
Jiang Jiang Jian
2026-01-28 10:34:03 +08:00
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1001,6 +1001,9 @@ typedef void (*esp_vendor_ie_cb_t) (void *ctx, wifi_vendor_ie_type_t type, const
* @param vnd_ie Pointer to vendor specific element data. First 6 bytes should be a header with fields matching vendor_ie_data_t.
* If enable is false, this argument is ignored and can be NULL. Data does not need to remain valid after the function returns.
*
* @attention If user set the same vendor ie twice, the second set will fail and return ESP_ERR_INVALID_ARG.
* Please clear the vendor ie before setting again.
*
* @return
* - ESP_OK: succeed
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init()