From patchwork Fri Nov 29 15:47:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chun-Yeow Yeoh X-Patchwork-Id: 3258911 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5281F9F371 for ; Fri, 29 Nov 2013 15:47:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3CFC620675 for ; Fri, 29 Nov 2013 15:47:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 97B0F20671 for ; Fri, 29 Nov 2013 15:47:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757204Ab3K2Prs (ORCPT ); Fri, 29 Nov 2013 10:47:48 -0500 Received: from mail-pb0-f44.google.com ([209.85.160.44]:37832 "EHLO mail-pb0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755959Ab3K2Prs (ORCPT ); Fri, 29 Nov 2013 10:47:48 -0500 Received: by mail-pb0-f44.google.com with SMTP id rq2so14681023pbb.31 for ; Fri, 29 Nov 2013 07:47:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=tDy/hUNIJWeXH4jdiBaAlbDEA5TpePOqbsylsTfKR7g=; b=tmrfwqlCKsc647+mgzpWEZvpu9ZYgFQv/6GFq88JZmAkI+DGWq2QzNGCKpps3cXcwC iDcSavg4Lh+0oDfUUNqOxKmwQyV4nbwIka2/i2uLJNSkBQzLyRwCW+2J3bbSdGVteny/ aabwIM1Z2Dp1TFqUMu2WIfd4Z78yQZvDW/kBdsON8QLNjgKrvzMZqpAs5WZxdpxXSe/m n/wB4tHpGtTm4Wsl6ZCEES2rco6jvEB53H+ZLWgmESmOlJ5544GxzX1nv+m60E5Uy1n3 dHncxSlQGo6ZVfrCUE6GffiEI2NP+8fNEj5G7w/1KYS7dq3ahaqujaoN0priVVFyDHvN B09Q== X-Received: by 10.66.142.107 with SMTP id rv11mr54080962pab.17.1385740067661; Fri, 29 Nov 2013 07:47:47 -0800 (PST) Received: from nga.lan ([210.195.124.56]) by mx.google.com with ESMTPSA id so2sm102968680pbc.5.2013.11.29.07.47.45 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 Nov 2013 07:47:46 -0800 (PST) From: Chun-Yeow Yeoh To: linux-wireless@vger.kernel.org Cc: linville@tuxdriver.com, k.eugene.e@gmail.com, wcn36xx@lists.infradead.org, Chun-Yeow Yeoh Subject: [PATCH] wcn36xx: fix typo error Date: Fri, 29 Nov 2013 23:47:30 +0800 Message-Id: <1385740050-12827-1-git-send-email-yeohchunyeow@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 Signed-off-by: Chun-Yeow Yeoh --- drivers/net/wireless/ath/wcn36xx/hal.h | 2 +- drivers/net/wireless/ath/wcn36xx/smd.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/wcn36xx/hal.h b/drivers/net/wireless/ath/wcn36xx/hal.h index c02dbc6..3c2ef0c 100644 --- a/drivers/net/wireless/ath/wcn36xx/hal.h +++ b/drivers/net/wireless/ath/wcn36xx/hal.h @@ -2644,7 +2644,7 @@ struct wcn36xx_hal_trigger_ba_rsp_candidate { struct add_ba_info ba_info[STACFG_MAX_TC]; } __packed; -struct wcn36xx_hal_trigget_ba_req_candidate { +struct wcn36xx_hal_trigger_ba_req_candidate { u8 sta_index; u8 tid_bitmap; } __packed; diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index 2f58a7d..24135d7 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -1856,7 +1856,7 @@ out: int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index) { struct wcn36xx_hal_trigger_ba_req_msg msg_body; - struct wcn36xx_hal_trigget_ba_req_candidate *candidate; + struct wcn36xx_hal_trigger_ba_req_candidate *candidate; int ret = 0; mutex_lock(&wcn->hal_mutex); @@ -1867,7 +1867,7 @@ int wcn36xx_smd_trigger_ba(struct wcn36xx *wcn, u8 sta_index) msg_body.header.len += sizeof(*candidate); PREPARE_HAL_BUF(wcn->hal_buf, msg_body); - candidate = (struct wcn36xx_hal_trigget_ba_req_candidate *) + candidate = (struct wcn36xx_hal_trigger_ba_req_candidate *) (wcn->hal_buf + sizeof(msg_body)); candidate->sta_index = sta_index; candidate->tid_bitmap = 1;