OWE: Rename function to match use (driver-SME/MLME)

This function is used to process a (Re)Association Request frame, so
rename it appropriately to mention assoc_req instead of auth_req.

Signed-off-by: Ashok Ponnaiah <aponnaia@codeaurora.org>
This commit is contained in:
Ashok Ponnaiah 2018-02-06 20:27:41 +02:00 committed by Jouni Malinen
parent 759da93a89
commit 79ce2d519b
3 changed files with 10 additions and 10 deletions

View file

@ -528,10 +528,10 @@ skip_wpa_check:
elems.owe_dh) { elems.owe_dh) {
u8 *npos; u8 *npos;
npos = owe_auth_req_process(hapd, sta, npos = owe_assoc_req_process(hapd, sta,
elems.owe_dh, elems.owe_dh_len, elems.owe_dh, elems.owe_dh_len,
p, sizeof(buf) - (p - buf), p, sizeof(buf) - (p - buf),
&reason); &reason);
if (npos) if (npos)
p = npos; p = npos;
if (!npos && if (!npos &&

View file

@ -2988,9 +2988,9 @@ done:
#ifdef CONFIG_OWE #ifdef CONFIG_OWE
u8 * owe_auth_req_process(struct hostapd_data *hapd, struct sta_info *sta, u8 * owe_assoc_req_process(struct hostapd_data *hapd, struct sta_info *sta,
const u8 *owe_dh, u8 owe_dh_len, const u8 *owe_dh, u8 owe_dh_len,
u8 *owe_buf, size_t owe_buf_len, u16 *reason) u8 *owe_buf, size_t owe_buf_len, u16 *reason)
{ {
if (wpa_auth_sta_get_pmksa(sta->wpa_sm)) { if (wpa_auth_sta_get_pmksa(sta->wpa_sm)) {
wpa_printf(MSG_DEBUG, "OWE: Using PMKSA caching"); wpa_printf(MSG_DEBUG, "OWE: Using PMKSA caching");

View file

@ -142,9 +142,9 @@ void ieee802_11_finish_fils_auth(struct hostapd_data *hapd,
struct sta_info *sta, int success, struct sta_info *sta, int success,
struct wpabuf *erp_resp, struct wpabuf *erp_resp,
const u8 *msk, size_t msk_len); const u8 *msk, size_t msk_len);
u8 * owe_auth_req_process(struct hostapd_data *hapd, struct sta_info *sta, u8 * owe_assoc_req_process(struct hostapd_data *hapd, struct sta_info *sta,
const u8 *owe_dh, u8 owe_dh_len, const u8 *owe_dh, u8 owe_dh_len,
u8 *owe_buf, size_t owe_buf_len, u16 *reason); u8 *owe_buf, size_t owe_buf_len, u16 *reason);
void fils_hlp_timeout(void *eloop_ctx, void *eloop_data); void fils_hlp_timeout(void *eloop_ctx, void *eloop_data);
void fils_hlp_finish_assoc(struct hostapd_data *hapd, struct sta_info *sta); void fils_hlp_finish_assoc(struct hostapd_data *hapd, struct sta_info *sta);
void handle_auth_fils(struct hostapd_data *hapd, struct sta_info *sta, void handle_auth_fils(struct hostapd_data *hapd, struct sta_info *sta,