From: Adil Saeed Musthafa Date: Fri, 12 Sep 2025 00:14:52 +0000 (-0700) Subject: AP MLD: Remove unused argument from send_assoc_resp() X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b1a69212bda270efff63ae1d4546c7b806d2a07;p=thirdparty%2Fhostap.git AP MLD: Remove unused argument from send_assoc_resp() 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 --- diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index 38b8d4101..ca5ca9687 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -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); /*