Re: [PATCH] wireless: fix typo issue
From: Johannes Berg
Date: Wed Feb 03 2021 - 02:35:28 EST
On Wed, 2021-02-03 at 15:00 +0800, samirweng1979 wrote:
> From: wengjianfeng <wengjianfeng@xxxxxxxxxx>
>
> change 'iff' to 'if'.
>
> Signed-off-by: wengjianfeng <wengjianfeng@xxxxxxxxxx>
> ---
> 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".
johannes