]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
OWE: Rename function to match use (driver-SME/MLME)
authorAshok Ponnaiah <aponnaia@codeaurora.org>
Tue, 6 Feb 2018 18:27:41 +0000 (20:27 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 6 Feb 2018 18:27:41 +0000 (20:27 +0200)
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>
src/ap/drv_callbacks.c
src/ap/ieee802_11.c
src/ap/ieee802_11.h

index cb96171549630adec1561e6e3d8f5ab6ad203de5..e4a458107e847a4ad2f216fd82918ba19d2818a0 100644 (file)
@@ -528,10 +528,10 @@ skip_wpa_check:
            elems.owe_dh) {
                u8 *npos;
 
-               npos = owe_auth_req_process(hapd, sta,
-                                           elems.owe_dh, elems.owe_dh_len,
-                                           p, sizeof(buf) - (p - buf),
-                                           &reason);
+               npos = owe_assoc_req_process(hapd, sta,
+                                            elems.owe_dh, elems.owe_dh_len,
+                                            p, sizeof(buf) - (p - buf),
+                                            &reason);
                if (npos)
                        p = npos;
                if (!npos &&
index 1e89fbae0f74eaf328b70ff3936896a27fd90b16..38487a8835d6c2f40387bf7496fa3eea1996d283 100644 (file)
@@ -2988,9 +2988,9 @@ done:
 
 
 #ifdef CONFIG_OWE
-u8 * owe_auth_req_process(struct hostapd_data *hapd, struct sta_info *sta,
-                         const u8 *owe_dh, u8 owe_dh_len,
-                         u8 *owe_buf, size_t owe_buf_len, u16 *reason)
+u8 * owe_assoc_req_process(struct hostapd_data *hapd, struct sta_info *sta,
+                          const u8 *owe_dh, u8 owe_dh_len,
+                          u8 *owe_buf, size_t owe_buf_len, u16 *reason)
 {
        if (wpa_auth_sta_get_pmksa(sta->wpa_sm)) {
                wpa_printf(MSG_DEBUG, "OWE: Using PMKSA caching");
index a263efedaadd4b5be750b596ac823b611ae035d4..9fa09ca4161f01579cb7e3de4a4ccc05901fbe20 100644 (file)
@@ -142,9 +142,9 @@ void ieee802_11_finish_fils_auth(struct hostapd_data *hapd,
                                 struct sta_info *sta, int success,
                                 struct wpabuf *erp_resp,
                                 const u8 *msk, size_t msk_len);
-u8 * owe_auth_req_process(struct hostapd_data *hapd, struct sta_info *sta,
-                         const u8 *owe_dh, u8 owe_dh_len,
-                         u8 *owe_buf, size_t owe_buf_len, u16 *reason);
+u8 * owe_assoc_req_process(struct hostapd_data *hapd, struct sta_info *sta,
+                          const u8 *owe_dh, u8 owe_dh_len,
+                          u8 *owe_buf, size_t owe_buf_len, u16 *reason);
 void fils_hlp_timeout(void *eloop_ctx, void *eloop_data);
 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,