From patchwork Mon Dec 16 17:03:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= X-Patchwork-Id: 11294683 X-Patchwork-Delegate: johannes@sipsolutions.net Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 45C51930 for ; Mon, 16 Dec 2019 17:04:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1A5942072D for ; Mon, 16 Dec 2019 17:04:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=silabs.onmicrosoft.com header.i=@silabs.onmicrosoft.com header.b="dDcdPNxc" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727229AbfLPREG (ORCPT ); Mon, 16 Dec 2019 12:04:06 -0500 Received: from mail-eopbgr700081.outbound.protection.outlook.com ([40.107.70.81]:14720 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726252AbfLPRED (ORCPT ); Mon, 16 Dec 2019 12:04:03 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bHTtOJgggTek0FG6KBXqM/WSOui5SAjFpFiE63roxOuYAu8iHwOx+zRrBE6V/PixYrfouKbeJ45hqe3Ic7vJnCffMhnrBq9BX+fhtewq7i9pwUZR8cIGaPOiK+JHQzWCO3wFNiVK6wihnEqtFl4U51W8grLiQt5EdvyRL1HidKt1TXCEPI7td/r5m/9BViLSsd3grJi6fuj4O9VN5/L2rf976YlI/6C2xbCa6rpgqL0vLdWDRkjOWO6SKee0zRrIiTttQva0KB2haMcZbBmsFPUJiJwaXJIaBYvE/+SaJJlxpkTZMEQlfeO1wCIdU1QIH2wZcbTWwncX1nDhgI3rNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/zqsPaKApTZnfOGYQ6HyXyVh4KolOyQoMkJqS4dYTYs=; b=dGTzgIYFF2KoX8KY0Z5FY4EaQwT4ml1BR8gZFJJCHH3bb2BuE/l13vtR9+y6VcmA3c1ZoC54LhvWIJ8PyziVOe0fufkU8wUMPG4aw34JDrY/Ar+kGMoTxZ8lRyoxJNuSnrl1Y2nxPpnyXv0xaLepS7+PK6nYGPhedtLuCZJ53QuCwQ+OSpLyUGzEO3GS/37ABYoPIJhxsZ4OKOmFp9KOwuavDIhGlAzgoF/rYFHd/Rfyf7lLi7HInKWQ2hv60HR2hzECIkm6465C87hRkeIhjtXWomGsfZPbajAN++MjPYLfu3kual6FrzbX0muFYrBki9uEmKC6rr4sDHIBNxG+lA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silabs.com; dmarc=pass action=none header.from=silabs.com; dkim=pass header.d=silabs.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silabs.onmicrosoft.com; s=selector2-silabs-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/zqsPaKApTZnfOGYQ6HyXyVh4KolOyQoMkJqS4dYTYs=; b=dDcdPNxctAy/q0EYzFK8y52gozqQfIjtHtqrCSU6ML8qX9s152lTeXUKfTUWJKBCfF2fzaZdVSd0ElzH9T971EZel06Mxt3uky4vO2EZu9Z6DGIT8196pUa738m/ScxTsRDHRJuJaGLfYk/lnQJ5KhntVl//w7+WYYifSLVV3ck= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (10.255.180.22) by MN2PR11MB4351.namprd11.prod.outlook.com (52.135.39.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.19; Mon, 16 Dec 2019 17:03:53 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::f46c:e5b4:2a85:f0bf]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::f46c:e5b4:2a85:f0bf%4]) with mapi id 15.20.2538.019; Mon, 16 Dec 2019 17:03:53 +0000 From: =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= To: "devel@driverdev.osuosl.org" , "linux-wireless@vger.kernel.org" CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , Kalle Valo , "David S . Miller" , =?utf-8?b?SsOpcsO0bWUgUG91aWxsZXI=?= Subject: [PATCH 24/55] staging: wfx: fix typo in "num_i_es" Thread-Topic: [PATCH 24/55] staging: wfx: fix typo in "num_i_es" Thread-Index: AQHVtDLHGFd3gvqiy0ia04l1QjyuJw== Date: Mon, 16 Dec 2019 17:03:46 +0000 Message-ID: <20191216170302.29543-25-Jerome.Pouiller@silabs.com> References: <20191216170302.29543-1-Jerome.Pouiller@silabs.com> In-Reply-To: <20191216170302.29543-1-Jerome.Pouiller@silabs.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jerome.Pouiller@silabs.com; x-originating-ip: [37.71.187.125] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 72fd01e2-b595-479d-cac5-08d78249ee24 x-ms-traffictypediagnostic: MN2PR11MB4351: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:328; x-forefront-prvs: 02530BD3AA x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(366004)(376002)(346002)(396003)(39860400002)(199004)(189003)(66556008)(66446008)(64756008)(66476007)(76116006)(85202003)(91956017)(66946007)(54906003)(107886003)(4326008)(478600001)(110136005)(71200400001)(6512007)(81156014)(8676002)(81166006)(186003)(36756003)(2906002)(85182001)(6666004)(66574012)(1076003)(316002)(6506007)(5660300002)(86362001)(26005)(2616005)(6486002)(8936002);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR11MB4351;H:MN2PR11MB4063.namprd11.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: silabs.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5wbfrkrWg/rNFFpsz0niyfnnw/df15N+X+Br85SlF6UvGVGXxBWu4KJXyZUDua6xH36SJR5l457YPgo8XJ60nbQ52CG6XAmtxqT1AylJH7NkrsA1bxnoDQJcgaxt1bKpAP1BKl8HgC84alKb5kof+0zGvJy+YWdOpomYH5OzFs/oGbYTueHM9a9S8YnG4FgvxosaOzwt2X8O1hIgn+d/PiWs+zLf5DTS6C0Ac3GoKHV5udO61i9kA1tc4UFtd6E7aayW7XdQeDbNaJ/8WWGgMQGXWT+efRlw0ZXoeUUKNkZ3MPYM9F2pkPK7A+oWNuKuleL0FHxgFSg7wARSgDAvIqMc8/6UXn0YGJjFBIau/ni5mbjRtxzyM+WvNFdxw5WBT7JCGVKo4ePTXj2kVDmjVoeoLC9i/4SMVegAmTieWiRRxSYHhKkpcbWRjqX9V0XM Content-ID: MIME-Version: 1.0 X-OriginatorOrg: silabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 72fd01e2-b595-479d-cac5-08d78249ee24 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Dec 2019 17:03:46.2708 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 54dbd822-5231-4b20-944d-6f4abcd541fb X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: A/0YgY/bz8qk4IaTj8HkvGYSSq03/Rfh1FwAk71GUEOQuP6w69tqqooJsf1eqHeNv0Wd388Eh723CUj6Rvysdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4351 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Jérôme Pouiller The script that has imported API header has made a mistake "num_i_es". Signed-off-by: Jérôme Pouiller --- drivers/staging/wfx/hif_api_cmd.h | 2 +- drivers/staging/wfx/hif_tx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wfx/hif_api_cmd.h b/drivers/staging/wfx/hif_api_cmd.h index 90ba6e9b82ea..3e77fbe3d5ff 100644 --- a/drivers/staging/wfx/hif_api_cmd.h +++ b/drivers/staging/wfx/hif_api_cmd.h @@ -137,7 +137,7 @@ struct hif_ie_tlv { struct hif_req_update_ie { struct hif_ie_flags ie_flags; - u16 num_i_es; + u16 num_ies; struct hif_ie_tlv ie[]; } __packed; diff --git a/drivers/staging/wfx/hif_tx.c b/drivers/staging/wfx/hif_tx.c index 2f74abca2b60..6fb98ddbc0e2 100644 --- a/drivers/staging/wfx/hif_tx.c +++ b/drivers/staging/wfx/hif_tx.c @@ -429,7 +429,7 @@ int hif_update_ie(struct wfx_vif *wvif, const struct hif_ie_flags *target_frame, struct hif_req_update_ie *body = wfx_alloc_hif(buf_len, &hif); memcpy(&body->ie_flags, target_frame, sizeof(struct hif_ie_flags)); - body->num_i_es = cpu_to_le16(1); + body->num_ies = cpu_to_le16(1); memcpy(body->ie, ies, ies_len); wfx_fill_header(hif, wvif->id, HIF_REQ_ID_UPDATE_IE, buf_len); ret = wfx_cmd_send(wvif->wdev, hif, NULL, 0, false);