mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
wcn36xx: Convert to using wcn36xx_smd_config_bss_v0()
A previous patch added wcn36xx_smd_config_bss_v0() this patch converts the version 0 data-path in wcn36xx_smd_config_bss() to use wcn36xx_smd_config_bss_v0(). Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200910150631.2178970-7-bryan.odonoghue@linaro.org
This commit is contained in:
committed by
Kalle Valo
parent
1cdab0f896
commit
5a7b60ad56
@@ -1731,9 +1731,7 @@ int wcn36xx_smd_config_bss(struct wcn36xx *wcn, struct ieee80211_vif *vif,
|
|||||||
if (!wcn36xx_is_fw_version(wcn, 1, 2, 2, 24)) {
|
if (!wcn36xx_is_fw_version(wcn, 1, 2, 2, 24)) {
|
||||||
ret = wcn36xx_smd_config_bss_v1(wcn, vif, sta, bssid, update);
|
ret = wcn36xx_smd_config_bss_v1(wcn, vif, sta, bssid, update);
|
||||||
} else {
|
} else {
|
||||||
PREPARE_HAL_BUF(wcn->hal_buf, (*msg));
|
ret = wcn36xx_smd_config_bss_v0(wcn, vif, sta, bssid, update);
|
||||||
|
|
||||||
ret = wcn36xx_smd_send_and_wait(wcn, msg->header.len);
|
|
||||||
}
|
}
|
||||||
if (ret) {
|
if (ret) {
|
||||||
wcn36xx_err("Sending hal_config_bss failed\n");
|
wcn36xx_err("Sending hal_config_bss failed\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user