From: Dhanavandhana Kannan Date: Wed, 8 Oct 2025 03:20:46 +0000 (+0530) Subject: MBSSID: Send probe response only from transmitting BSS for MBSSID X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be201a33e653b52b08b65ffbe7495ce9a797e44d;p=thirdparty%2Fhostap.git MBSSID: Send probe response only from transmitting BSS for MBSSID In MBSSID enabled case, when a Probe Request frame with A3=wildcard BSSID is received and the SSID matches that of a non-TX BSS, the Probe Response frmae is queued to the driver with non-TX BSS context. But, mgmt->sa will be set to the TX BSS as it should be used to build the Probe Response frame. This leads to TX failure as kernel checks the management address with that of the BSS address, in this case it is the non-TX BSS address. Fix this issue by using the TX BSS for queuing the Probe Response frame to the driver. Signed-off-by: Dhanavandhana Kannan Signed-off-by: Manish Dharanenthiran --- diff --git a/src/ap/beacon.c b/src/ap/beacon.c index 6cfaf099e..259582357 100644 --- a/src/ap/beacon.c +++ b/src/ap/beacon.c @@ -1723,7 +1723,8 @@ void handle_probe_req(struct hostapd_data *hapd, params.ecsa_pos - (u8 *) params.resp; } - ret = hostapd_drv_send_mlme(hapd, params.resp, params.resp_len, noack, + ret = hostapd_drv_send_mlme(hostapd_mbssid_get_tx_bss(hapd), + params.resp, params.resp_len, noack, csa_offs_len ? csa_offs : NULL, csa_offs_len, 0);