]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
AP MLD: Remove unused argument from send_assoc_resp()
authorAdil Saeed Musthafa <adilm@qti.qualcomm.com>
Fri, 12 Sep 2025 00:14:52 +0000 (17:14 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 12 Sep 2025 08:11:51 +0000 (11:11 +0300)
Remove the unused argument allow_mld_addr_trans from the function
send_assoc_resp(). The only user for this was removed in commit
fd1a35e14a1b ("AP MLD: Handle authentication and association on link
address").

Signed-off-by: Adil Saeed Musthafa <adilm@qti.qualcomm.com>
src/ap/ieee802_11.c

index 38b8d4101979907ba0d4a17538f85bfdb6eff6e3..ca5ca9687bd3b2519b6b5cb25eb75491961f1368 100644 (file)
@@ -5218,7 +5218,7 @@ static int add_associated_sta(struct hostapd_data *hapd,
 static u16 send_assoc_resp(struct hostapd_data *hapd, struct sta_info *sta,
                           const u8 *addr, u16 status_code, int reassoc,
                           const u8 *ies, size_t ies_len, int rssi,
-                          int omit_rsnxe, bool allow_mld_addr_trans)
+                          int omit_rsnxe)
 {
        int send_len;
        u8 *buf;
@@ -5629,8 +5629,7 @@ void fils_hlp_finish_assoc(struct hostapd_data *hapd, struct sta_info *sta)
        reply_res = send_assoc_resp(hapd, sta, sta->addr, WLAN_STATUS_SUCCESS,
                                    sta->fils_pending_assoc_is_reassoc,
                                    sta->fils_pending_assoc_req,
-                                   sta->fils_pending_assoc_req_len, 0, 0,
-                                   true);
+                                   sta->fils_pending_assoc_req_len, 0, 0);
        os_free(sta->fils_pending_assoc_req);
        sta->fils_pending_assoc_req = NULL;
        sta->fils_pending_assoc_req_len = 0;
@@ -6135,8 +6134,7 @@ static void handle_assoc(struct hostapd_data *hapd,
                                            mld_addrs_not_translated ?
                                            NULL : sta,
                                            mgmt->sa, resp, reassoc,
-                                           pos, left, rssi, omit_rsnxe,
-                                           !mld_addrs_not_translated);
+                                           pos, left, rssi, omit_rsnxe);
        os_free(tmp);
 
        /*