mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/11kv_prints' into 'master'
fix(esp_wifi): Added prints in btm roam for error condition See merge request espressif/esp-idf!32658
This commit is contained in:
commit
f8894140ee
@ -691,8 +691,10 @@ int wnm_scan_process(struct wpa_supplicant *wpa_s, int reply_on_fail)
|
|||||||
enum mbo_transition_reject_reason reason =
|
enum mbo_transition_reject_reason reason =
|
||||||
MBO_TRANSITION_REJECT_REASON_UNSPECIFIED;
|
MBO_TRANSITION_REJECT_REASON_UNSPECIFIED;
|
||||||
|
|
||||||
if (!wpa_s->wnm_neighbor_report_elements)
|
if (!wpa_s->wnm_neighbor_report_elements) {
|
||||||
|
wpa_printf(MSG_INFO, "WNM: Neighbor report not available");
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
wpa_dbg(wpa_s, MSG_DEBUG,
|
wpa_dbg(wpa_s, MSG_DEBUG,
|
||||||
"WNM: Process scan results for BSS Transition Management");
|
"WNM: Process scan results for BSS Transition Management");
|
||||||
@ -706,7 +708,7 @@ int wnm_scan_process(struct wpa_supplicant *wpa_s, int reply_on_fail)
|
|||||||
/* Compare the Neighbor Report and scan results */
|
/* Compare the Neighbor Report and scan results */
|
||||||
bss = compare_scan_neighbor_results(wpa_s, 0, &reason);
|
bss = compare_scan_neighbor_results(wpa_s, 0, &reason);
|
||||||
if (!bss) {
|
if (!bss) {
|
||||||
wpa_printf(MSG_DEBUG, "WNM: No BSS transition candidate match found");
|
wpa_printf(MSG_INFO, "WNM: No BSS transition candidate match found");
|
||||||
status = WNM_BSS_TM_REJECT_NO_SUITABLE_CANDIDATES;
|
status = WNM_BSS_TM_REJECT_NO_SUITABLE_CANDIDATES;
|
||||||
goto send_bss_resp_fail;
|
goto send_bss_resp_fail;
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
(See the README.md file in the upper level 'examples' directory for more information about examples.)
|
(See the README.md file in the upper level 'examples' directory for more information about examples.)
|
||||||
|
|
||||||
This example demonstrate a roaming example using 11k and 11v APIs.
|
This example demonstrates a roaming example using 802.11k and 802.11v APIs. 802.11r(FT-PSK) is enabled by default in this example.
|
||||||
|
|
||||||
## How to use example
|
## How to use example
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user