From: Benjamin Berg <benjamin.berg@xxxxxxxxx> If after our scan, the BSS Transition could not be performed, then still return success so that the event handling code does not trigger a normal BSS selection which could try to roam to a forbidden candidate. Fixes: e508c070c40e ("WNM: Keep BTM information until connection completes") Signed-off-by: Benjamin Berg <benjamin.berg@xxxxxxxxx> Reviewed-by: Andrei Otcheretianski <andrei.otcheretianski@xxxxxxxxx> --- wpa_supplicant/wnm_sta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/wnm_sta.c b/wpa_supplicant/wnm_sta.c index 1aa2695bb3..1ca46d3e83 100644 --- a/wpa_supplicant/wnm_sta.c +++ b/wpa_supplicant/wnm_sta.c @@ -1141,7 +1141,7 @@ send_bss_resp_fail: wnm_btm_reset(wpa_s); - return 0; + return 1; } -- 2.50.0 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap