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 <dhanavandhana.kannan@oss.qualcomm.com>
Signed-off-by: Manish Dharanenthiran <manish.dharanenthiran@oss.qualcomm.com>
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);