From patchwork Tue Nov 10 08:25:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengwei Yin X-Patchwork-Id: 56290 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp610646lbb; Mon, 9 Nov 2015 23:25:22 -0800 (PST) X-Received: by 10.66.221.105 with SMTP id qd9mr3442039pac.46.1447140322347; Mon, 09 Nov 2015 23:25:22 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg5si3280903pbb.218.2015.11.09.23.25.22; Mon, 09 Nov 2015 23:25:22 -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 S1751462AbbKJHZT (ORCPT + 1 other); Tue, 10 Nov 2015 02:25:19 -0500 Received: from mail-pa0-f53.google.com ([209.85.220.53]:34657 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751125AbbKJHZR (ORCPT ); Tue, 10 Nov 2015 02:25:17 -0500 Received: by padhx2 with SMTP id hx2so217696184pad.1 for ; Mon, 09 Nov 2015 23:25:17 -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=4VSamqloxwxKSBqx+331PkFFSYLrEgkz19qLD6SjFcw=; b=OCjT1Hts+zeMCcmZ/WCHa2YCEGwqMcwvZxuqlI+MhPNISpyJpkdPXrnbySC/GlAgML BOUHprAA/lTbqj28bNrliPGhB8hgOksGVy6Zbu7BtCZ63csScjfrT/kOH6gBmpwkVZZP 0DMhUaB7pYbhm8QJZhAVexs1+f3MfrWElAKoXJgHtym9YOogoE6xlGLYRbce/qfpKR50 J0SkZ6LQ6xdQHiDjHS44pt879bVlEeNam3gAzFuFrHxK9v17/cXdnfGz95W3rVLhO9Rj zQeZfRYK7dvxa59YzKg5YsJ+xX4vyvH69qozZ9h82QNKeZIWHtRGSsbs9BDxfv+KIesO S4Jw== 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=4VSamqloxwxKSBqx+331PkFFSYLrEgkz19qLD6SjFcw=; b=PAFgdr7jceSiSPmh0UzXMHKkpcOQaG0UAvXMNWFK80m0wrLSauG72HOlzK9babuBpt bsXeIBBv5YLXlHKENQri/ZYQwagi9Vu7N2Hf4jrXMfsvwlsQk2xzRnoE/BI2mUfu0MeD KRCu+wpQDaExIwcO5L2gfVlxLcEkSWZbpaf31OBvkU7uXMZfNdI1qHps446TZu0zPTjA QipTrI1hU3NsmlPe4TYlmqnO+Of1sHeSwIYRgAHM27HFAYRagW4y5wrVwoI2314wQzgZ KBLAuwRNgl4wDt89l9x9UkhtAIMSm+cKs/lvygPJQx+R9C/A1uPb+Jcxx1yP0yO7FYJy /FIw== X-Gm-Message-State: ALoCoQloXBTYY/L7arA/eQSySr8Gr3aPXY7cnetH3ep98Mbch1ch+PJ3TJERSLOgxl7+gpjUbJ4U X-Received: by 10.68.216.36 with SMTP id on4mr3476453pbc.12.1447140317354; Mon, 09 Nov 2015 23:25:17 -0800 (PST) Received: from localhost.localdomain ([45.116.12.36]) by smtp.googlemail.com with ESMTPSA id dw5sm2224716pbb.3.2015.11.09.23.25.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Nov 2015 23:25:13 -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 v2 5/5] wcn3620: use new response format for wcn3620 remove_bsskey Date: Tue, 10 Nov 2015 03:25:55 -0500 Message-Id: <1447143955-10304-6-git-send-email-fengwei.yin@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447143955-10304-1-git-send-email-fengwei.yin@linaro.org> References: <1447143955-10304-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 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 dae5e1a..74f56a8 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -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;