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: 56194 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp65515lbb; Mon, 9 Nov 2015 01:01:53 -0800 (PST) X-Received: by 10.66.121.110 with SMTP id lj14mr37788861pab.61.1447059713801; Mon, 09 Nov 2015 01:01:53 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y7si21094674pbt.221.2015.11.09.01.01.53; Mon, 09 Nov 2015 01:01:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752609AbbKIJBw (ORCPT + 1 other); 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 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(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;