Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp88669pxb; Tue, 2 Feb 2021 23:54:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZNn1vJZkM5TjaiR/BTrOLgn6SoOXNAHJQhm9Y4k1y6y6HsfSfkyCM0tq7bqKB+xyeChf8 X-Received: by 2002:aa7:c707:: with SMTP id i7mr1736473edq.1.1612338890318; Tue, 02 Feb 2021 23:54:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612338890; cv=none; d=google.com; s=arc-20160816; b=XUAUzAmLNjaMW+7Mmg3sA/EMRagBkdFQgUrMZxt8eiD/1kh0fU2sWpcLOPKa38d7PV NpRo7/brRShUqKiUBI9FrfmQU/QYKgxEMdd540lXCLpkF+QFOh7GXKLZNopoZ0DjZZyU t6lejIGe+jyClxm9kG5Z2tSVvpaSODBb8KIfTIg2pC83oAEs8HoPghj0LQEM79ahFTPY 5+kGEiD3bphrozgdQmkX/6XNGhSzjZDv7IP9ld/uAoxf7rIn23ApFjyOQdHzqfDHJ3he PvNqNrnNmcNAr7FyT9hlbVIZEFOQudWEa4oWT2cSbumqsfzbOYxFKHhn/D2HNDeOildR 5qcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=BKDoXJsjI2CJRyYo6SZe9i/zm5BPZDxb1yUFsqxu9GM=; b=Xfhty9Vcf8ffIWjzq+6rubjNQ12/8r1Zoxz4UgBkPqriQjvftwUal9QjzmLoIO1dAd DxfFZLk+TJadF/J/kn8ksCWcYYrf32zF5G3Hmx3J+QrXLP+36+FrAMGXEybOoLr0mIMU IR3fNBH4XiPKeFCdnZpq+lAeKtv8ZXiQ/rsU3Oz3BvyGwIPw+zNUduH83rIlCOtoZhij Ny+9l6Hx0CIIU6E8vaLMGhA/o99PoujRXqNub759POIvdZl8bDrdpf6sz3r6M6eEVf0l Y9nvJH2JQJ2z3tK0E3zG8atJXPoZNot0UiJYwEPYROZPrdVtBampAFH9Ig+MEm2thP3P SS/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z23si835250edr.175.2021.02.02.23.54.25; Tue, 02 Feb 2021 23:54:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232366AbhBCHwa (ORCPT + 99 others); Wed, 3 Feb 2021 02:52:30 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:12385 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232367AbhBCHw1 (ORCPT ); Wed, 3 Feb 2021 02:52:27 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4DVv3y4b2Rz7gQj; Wed, 3 Feb 2021 15:50:22 +0800 (CST) Received: from [10.174.179.241] (10.174.179.241) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.498.0; Wed, 3 Feb 2021 15:51:36 +0800 Subject: Re: [PATCH] wireless: fix typo issue To: Johannes Berg , samirweng1979 CC: , , , wengjianfeng , , References: <20210203070025.17628-1-samirweng1979@163.com> <9200710b2d9dafea4bfae4bb449a55fb44245d04.camel@sipsolutions.net> From: Miaohe Lin Message-ID: <74d4dfc5-51ae-5f53-6210-2cc14da55dcb@huawei.com> Date: Wed, 3 Feb 2021 15:51:36 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <9200710b2d9dafea4bfae4bb449a55fb44245d04.camel@sipsolutions.net> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.179.241] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/2/3 15:33, Johannes Berg wrote: > On Wed, 2021-02-03 at 15:00 +0800, samirweng1979 wrote: >> From: wengjianfeng >> >> change 'iff' to 'if'. >> >> Signed-off-by: wengjianfeng >> --- >> net/wireless/chan.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/net/wireless/chan.c b/net/wireless/chan.c >> index 285b807..2f17edf 100644 >> --- a/net/wireless/chan.c >> +++ b/net/wireless/chan.c >> @@ -1084,7 +1084,7 @@ bool cfg80211_chandef_usable(struct wiphy *wiphy, >> * associated to an AP on the same channel or on the same UNII band >> * (assuming that the AP is an authorized master). >> * In addition allow operation on a channel on which indoor operation is >> - * allowed, iff we are currently operating in an indoor environment. >> + * allowed, if we are currently operating in an indoor environment. >> */ > > I suspect that was intentional, as a common abbreviation for "if and > only if". Yep. iff --> if and only if from: https://mathvault.ca/math-glossary/#iff > > johannes > > . >