From patchwork Sun Apr 3 22:16:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 8735111 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C88F2C0553 for ; Sun, 3 Apr 2016 22:17:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E3173201F4 for ; Sun, 3 Apr 2016 22:17:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 16AEC200FE for ; Sun, 3 Apr 2016 22:17:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754498AbcDCWRL (ORCPT ); Sun, 3 Apr 2016 18:17:11 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:33092 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753552AbcDCWRJ (ORCPT ); Sun, 3 Apr 2016 18:17:09 -0400 Received: by mail-pa0-f42.google.com with SMTP id zm5so130358959pac.0 for ; Sun, 03 Apr 2016 15:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=BrTwWLZyewF389Z33kmx5Hjo+vBsaD6kOgWtOD3PhfE=; b=A0VDdglQzixE3xgsTZxTY5y04VH26dYqaRqH1FC93T8GQHQAQ2UUOi2TRYbQPdgrAM Bq+ra4Fb7cIutAjmENWbFPMiPQF439WPFRjbnX17dTA62z48qPOoxYrRP+SUfHAjRCTc EVlOXGw7a5fdvzjf3QaVGfmtAS810EFALraV0= 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=BrTwWLZyewF389Z33kmx5Hjo+vBsaD6kOgWtOD3PhfE=; b=AXcK3Ev/xMBa8pVsllFEE1J+/+Go+G608+GJfAXNiy9NtigNR2jSi0Ik6DWvregqWU 3DRl5jS0z3DW6C9BCzWTuZp+PXsiEGo9tEpdZaM9X/me8Zu6rsUwLHQgcZ8U/Ygqe9bO Bzu2F/+4Dxxln8QqU3swXiA1ZWYmaPRkL/09hpSEnC8Q4bUWkOMpYvdLL/rFAeP43GsE N/VCglxsiumNKUbePCkbM5x+Z72Srs9zoR3QFeNhC2Oiw23b0IfoQwDjOdNsTrc+rTvj DOI23rGQvba+NAYtTVS7l/Roh9D/+y59Ztbbd3dpwJZZBcw9tS4LKoqMSU2Cudp8clVY Jdog== X-Gm-Message-State: AD7BkJJ1OBEsDXTS1dULVHRu/1oscI2F5uaC0l2nxOZVpTr0UDzREzpaJwUkIwgeGX2if+aI X-Received: by 10.66.191.202 with SMTP id ha10mr48639516pac.8.1459721828506; Sun, 03 Apr 2016 15:17:08 -0700 (PDT) Received: from localhost.localdomain (ip68-111-223-48.sd.sd.cox.net. [68.111.223.48]) by smtp.gmail.com with ESMTPSA id s64sm34419659pfi.77.2016.04.03.15.17.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 Apr 2016 15:17:07 -0700 (PDT) From: Bjorn Andersson To: Eugene Krasnikov , Kalle Valo Cc: Pontus Fuchs , wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 15/15] wcn36xx: Use correct command struct for EXIT_BMPS_REQ Date: Sun, 3 Apr 2016 15:16:46 -0700 Message-Id: <1459721806-11817-15-git-send-email-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1459721806-11817-1-git-send-email-bjorn.andersson@linaro.org> References: <1459721806-11817-1-git-send-email-bjorn.andersson@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.8 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: Pontus Fuchs EXIT_BMPS_REQ was using the command struct for ENTER_BMPS_REQ. I spotted this when looking at command dumps. Signed-off-by: Pontus Fuchs Signed-off-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/smd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index b1bdc229e560..c15501c06eb2 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1690,7 +1690,7 @@ out: int wcn36xx_smd_exit_bmps(struct wcn36xx *wcn, struct ieee80211_vif *vif) { - struct wcn36xx_hal_enter_bmps_req_msg msg_body; + struct wcn36xx_hal_exit_bmps_req_msg msg_body; struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); int ret = 0;