wcn36xx: use new response format for wcn3620 remove_bsskey
authorAndy Green <andy.green@linaro.org>
Tue, 10 Nov 2015 08:25:55 +0000 (03:25 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Nov 2015 12:37:29 +0000 (14:37 +0200)
On wcn3620, firmware response to remove_bsskey 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 dae5e1a51c73a9e50ba131842d749b9e3b6e6722..74f56a81ad9ad7c628e72fd268d9372d4e561bc9 100644 (file)
@@ -1598,7 +1598,8 @@ int wcn36xx_smd_remove_bsskey(struct wcn36xx *wcn,
                wcn36xx_err("Sending hal_remove_bsskey 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_remove_bsskey response failed err=%d\n", ret);
                goto out;