From patchwork Mon Nov 9 10:02:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengwei Yin X-Patchwork-Id: 7581751 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5591E9F2E9 for ; Mon, 9 Nov 2015 09:01:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 789EC2077C for ; Mon, 9 Nov 2015 09:01:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F8F420774 for ; Mon, 9 Nov 2015 09:01:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752609AbbKIJBw (ORCPT ); Mon, 9 Nov 2015 04:01:52 -0500 Received: from mail-pa0-f42.google.com ([209.85.220.42]:33556 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752041AbbKIJBv (ORCPT ); Mon, 9 Nov 2015 04:01:51 -0500 Received: by pabfh17 with SMTP id fh17so193227803pab.0 for ; Mon, 09 Nov 2015 01:01:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=op3DKhCRJ3pOtyweCoBxmRS40h1j4f6MfAPPGexdylM=; b=w46B1HkIgN9rx7Nbq6IfKOqoiBGGnDOv+C1duTaN9wyPBZWf+6qX+QX7m06bZnuLmx Wm076tpqjjGHEW7ka0d5g+qF3owBfBkooBUmpDPdhfkXp299ZRq/ADc+zNy/lpI8HIz2 vl9bDFVZTy1bash15RsJsKaIl8q9atAQpl+gT2EMBWI1Gv/CaiSmLgJ7lWouuuSiVD8k jKJ32DAgbsKmb1Df21lcyfEswX8bvOQT7lbcMRXGjwutqQXovTdkn9lL9h6MEmFxERZe W4paIyruAc+2NHFDYg+JTXXSehwCoH6a5puyz8xLG2j/4Lvu8wDeCxCd0sQ8zVsLIb7c oF7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=op3DKhCRJ3pOtyweCoBxmRS40h1j4f6MfAPPGexdylM=; b=a4Ifu3QETS475jKOddum3aTVcnIbsnafMA6mdk0w50UiRl9TqjUm7ElBJV51PD4xJc l7K/mzFFUC8zuOFSX6zjSUcsUnVYeSgpaLJxBJGhQ3v4Ep63kcUf4BZmw5SHc7VtnU3G 26KW8QQ/xoZBiiANHoTB/OmhZeNO3f4ckYPWrB8rq/ujk4+lwev5gjTWLHLGy0pfMPi3 8L7RtSuKrzY3Fx6t2+RVyySAN5mDxVyDYHkOxFI6rlP2Opr9NvNzuSw6qBAlO2qI4Clc CVUXMQtO6vJ/fesYIcWt7EpY5HMRvQ8Hf4SuAoO8IlEFJmCX5JzVy+8nY+VLos10FR7W nKAg== X-Gm-Message-State: ALoCoQn7GzkmLjIPIdkiPwiM8UyOKXABs1wufV101eMNS+C76PKlnI4090bSjhJKkkzghzAcvr7u X-Received: by 10.67.14.201 with SMTP id fi9mr21256377pad.41.1447059710848; Mon, 09 Nov 2015 01:01:50 -0800 (PST) Received: from localhost.localdomain ([45.116.12.36]) by smtp.googlemail.com with ESMTPSA id ck9sm15005136pad.28.2015.11.09.01.01.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Nov 2015 01:01:49 -0800 (PST) From: "Yin, Fengwei" To: andy.green@linaro.org, linux-wireless@vger.kernel.org, wcn36xx@lists.infradead.org, me@bobcopeland.com, k.eugene.e@gmail.com, bjorn.andersson@sonymobile.com Cc: fengwei.yin@linaro.org Subject: [PATCH 5/5] wcn3620: use new response format for wcn3620 remove_bsskey Date: Mon, 9 Nov 2015 05:02:42 -0500 Message-Id: <1447063362-27322-6-git-send-email-fengwei.yin@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447063362-27322-1-git-send-email-fengwei.yin@linaro.org> References: <1447063362-27322-1-git-send-email-fengwei.yin@linaro.org> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Andy Green From: Andy Green On wcn3620, firmware response to remove_bsskey uses the new, larger "v2" format Signed-off-by: Andy Green --- drivers/net/wireless/ath/wcn36xx/smd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index f2443a0..0e22bae 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1599,7 +1599,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;