]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
wcn36xx: use new response format for wcn3620 trigger_ba
authorAndy Green <andy.green@linaro.org>
Tue, 10 Nov 2015 08:25:54 +0000 (03:25 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Nov 2015 12:37:16 +0000 (14:37 +0200)
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>
drivers/net/wireless/ath/wcn36xx/smd.c

index b7e61a0efc1bb7a058d3c4267df1f6f680c986e6..dae5e1a51c73a9e50ba131842d749b9e3b6e6722 100644 (file)
@@ -1967,7 +1967,8 @@ int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index)
                wcn36xx_err("Sending hal_trigger_ba failed\n");
                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) {
                wcn36xx_err("hal_trigger_ba response failed err=%d\n", ret);
                goto out;