wcn36xx: use new response format for wcn3620 trigger_ba

On wcn3620, firmware response to trigger_ba uses the new, larger
"v2" format

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Andy Green 2015-11-10 03:25:54 -05:00 committed by Kalle Valo
parent 40ac77c811
commit 69f66b688e

View File

@ -1967,7 +1967,8 @@ int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index)
wcn36xx_err("Sending hal_trigger_ba failed\n"); wcn36xx_err("Sending hal_trigger_ba failed\n");
goto out; goto out;
} }
ret = wcn36xx_smd_rsp_status_check(wcn->hal_buf, wcn->hal_rsp_len); ret = wcn36xx_smd_rsp_status_check_v2(wcn, wcn->hal_buf,
wcn->hal_rsp_len);
if (ret) { if (ret) {
wcn36xx_err("hal_trigger_ba response failed err=%d\n", ret); wcn36xx_err("hal_trigger_ba response failed err=%d\n", ret);
goto out; goto out;