diff --git a/components/wpa_supplicant/src/rsn_supp/wpa.c b/components/wpa_supplicant/src/rsn_supp/wpa.c index 413a46dd5f..2054127d2b 100644 --- a/components/wpa_supplicant/src/rsn_supp/wpa.c +++ b/components/wpa_supplicant/src/rsn_supp/wpa.c @@ -2386,7 +2386,7 @@ int wpa_set_bss(char *macddr, char * bssid, u8 pairwise_cipher, u8 group_cipher, if (res < 0) return -1; sm->assoc_wpa_ie_len = res; - res = wpa_gen_rsnxe(sm ,assoc_rsnxe, assoc_rsnxe_len); + res = wpa_gen_rsnxe(sm, assoc_rsnxe, assoc_rsnxe_len); if (res < 0) return -1; assoc_rsnxe_len = res; diff --git a/docs/en/api-guides/wifi.rst b/docs/en/api-guides/wifi.rst index ecb179d7fa..5e9f4b60e4 100644 --- a/docs/en/api-guides/wifi.rst +++ b/docs/en/api-guides/wifi.rst @@ -1510,7 +1510,7 @@ Current implementation of 802.11k includes support for beacon measurement report Refer IDF example :idf_file:`examples/wifi/roaming/README.md` to set up and use these APIs. Example code only demonstrates how these APIs can be used, the application should define its own algorithm and cases as required. -.. only:: esp32s2 or esp32c3 +.. only:: SOC_WIFI_FTM_SUPPORT Wi-Fi Location ------------------------------- diff --git a/docs/zh_CN/api-guides/wifi.rst b/docs/zh_CN/api-guides/wifi.rst index f637ead2de..ac6ae60fb9 100644 --- a/docs/zh_CN/api-guides/wifi.rst +++ b/docs/zh_CN/api-guides/wifi.rst @@ -1512,7 +1512,7 @@ WPA2-Enterprise 是企业无线网络的安全认证机制。在连接到接入 请参考 IDF 示例程序 :idf_file:`examples/wifi/roaming/README.md` 来设置和使用这些 API。示例代码只演示了如何使用这些 API,应用程序应根据需要定义自己的算法和案例。 -.. only:: esp32s2 or esp32c3 +.. only:: SOC_WIFI_FTM_SUPPORT Wi-Fi Location -------------------------------