Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > With wrong rtwsta->mac_id, it can't send out ack properly when we receive > assoc response occasionally. Then, it failed to connect an AP. > > The cause is that we store 'sta' and use it somewhere. To correct this, > remove the variable and use mac_id in drv_priv of 'sta' or 'vif' passed > by mac80211. > > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 40822e079011 rtw89: fix sending wrong rtwsta->mac_id to firmware to fill address CAM -- https://patchwork.kernel.org/project/linux-wireless/patch/20211201080607.11211-1-pkshih@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches