From: Shaakir Mohamed Date: Sat, 3 Oct 2020 00:14:21 +0000 (-0700) Subject: FT: Modify status code in FT Reassoc frame for invalid OCI channel info X-Git-Tag: hostap_2_10~930 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48a3a676821f16b6a4acd0474fcda74e7fb13d6;p=thirdparty%2Fhostap.git 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 --- 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 */