]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
wcn3620: use new response format for wcn3620 trigger_ba
authorAndy Green <andy.green@linaro.org>
Mon, 19 Jan 2015 04:52:37 +0000 (12:52 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 14 Mar 2018 02:42:09 +0000 (02:42 +0000)
On wcn3620, firmware response to trigger_ba uses the new, larger
"v2" format

Signed-off-by: Andy Green <andy.green@linaro.org>
drivers/net/wireless/ath/wcn36xx/smd.c

index a84c2cce3ee63f92d8ec7571ab02d3f056568095..f2443a08ff7add856abc2327438f7b3381eda211 100644 (file)
@@ -1968,7 +1968,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;