Skip to content

Commit

Permalink
wifi: rtw89: add join info upon create interface
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Po-Hao Huang authored and Kalle Valo committed Dec 8, 2022
1 parent 8fc5d43 commit a0e78d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/net/wireless/realtek/rtw89/mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a0e78d5

Please sign in to comment.