From d48a3a676821f16b6a4acd0474fcda74e7fb13d6 Mon Sep 17 00:00:00 2001 From: Shaakir Mohamed Date: Fri, 2 Oct 2020 17:14:21 -0700 Subject: [PATCH] FT: Modify status code in FT Reassoc frame for invalid OCI channel info Modify status code in FT Reassociation Response frame from WLAN_STATUS_UNSPECIFIED_FAILURE to WLAN_STATUS_INVALID_FTE when replying to an invalid OCI channel info (subelement of FTE) in FT Reassociation Request frame. Signed-off-by: Shaakir Mohamed --- src/ap/wpa_auth_ft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ap/wpa_auth_ft.c b/src/ap/wpa_auth_ft.c index 5cd7037e9..94a688ed9 100644 --- a/src/ap/wpa_auth_ft.c +++ b/src/ap/wpa_auth_ft.c @@ -3527,7 +3527,7 @@ int wpa_ft_validate_reassoc(struct wpa_state_machine *sm, const u8 *ies, OCV_FAILURE "addr=" MACSTR " frame=ft-reassoc-req error=%s", MAC2STR(sm->addr), ocv_errorstr); - return WLAN_STATUS_UNSPECIFIED_FAILURE; + return WLAN_STATUS_INVALID_FTIE; } } #endif /* CONFIG_OCV */