mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-21 17:21:59 +00:00
wifi: rtw89: add join info upon create interface
To support multiple vifs, fw need more information of each role. Send this info to make things work as expected. Signed-off-by: Po-Hao Huang <phhuang@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20221202061527.505668-5-pkshih@realtek.com
This commit is contained in:
@@ -3980,6 +3980,10 @@ int rtw89_mac_vif_init(struct rtw89_dev *rtwdev, struct rtw89_vif *rtwvif)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = rtw89_fw_h2c_join_info(rtwdev, rtwvif, NULL, true);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = rtw89_cam_init(rtwdev, rtwvif);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user