[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210609081556.19641-1-13145886936@163.com>
Date: Wed, 9 Jun 2021 01:15:56 -0700
From: 13145886936@....com
To: johannes@...solutions.net, davem@...emloft.net, kuba@...nel.org
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, gushengxian <gushengxian@...ong.com>
Subject: [PATCH] nl80211: fix a mistake in grammar
From: gushengxian <gushengxian@...ong.com>
Fix a mistake in grammar.
Signed-off-by: gushengxian <gushengxian@...ong.com>
---
net/wireless/nl80211.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index fc9286afe3c9..68dff0ca3190 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -8128,7 +8128,7 @@ int nl80211_parse_random_mac(struct nlattr **attrs,
memcpy(mac_addr, nla_data(attrs[NL80211_ATTR_MAC]), ETH_ALEN);
memcpy(mac_addr_mask, nla_data(attrs[NL80211_ATTR_MAC_MASK]), ETH_ALEN);
- /* don't allow or configure an mcast address */
+ /* don't allow or configure a mcast address */
if (!is_multicast_ether_addr(mac_addr_mask) ||
is_multicast_ether_addr(mac_addr))
return -EINVAL;
--
2.25.1
Powered by blists - more mailing lists