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:
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)) {
|
||||
ret = wcn36xx_smd_config_bss_v1(wcn, vif, sta, bssid, update);
|
||||
} else {
|
||||
PREPARE_HAL_BUF(wcn->hal_buf, (*msg));
|
||||
|
||||
ret = wcn36xx_smd_send_and_wait(wcn, msg->header.len);
|
||||
ret = wcn36xx_smd_config_bss_v0(wcn, vif, sta, bssid, update);
|
||||
}
|
||||
if (ret) {
|
||||
wcn36xx_err("Sending hal_config_bss failed\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user