projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fc5d43
)
wifi: rtw89: add join info upon create interface
author
Po-Hao Huang
<phhuang@realtek.com>
Fri, 2 Dec 2022 06:15:27 +0000
(14:15 +0800)
committer
Kalle Valo
<kvalo@kernel.org>
Thu, 8 Dec 2022 14:47:59 +0000
(16:47 +0200)
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
drivers/net/wireless/realtek/rtw89/mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/realtek/rtw89/mac.c
b/drivers/net/wireless/realtek/rtw89/mac.c
index
12cbf41
..
cf9a0a3
100644
(file)
--- a/
drivers/net/wireless/realtek/rtw89/mac.c
+++ b/
drivers/net/wireless/realtek/rtw89/mac.c
@@
-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;