[PATCH] nl80211: fix a mistake in grammar

From: 13145886936
Date: Wed Jun 09 2021 - 04:16:19 EST


From: gushengxian <gushengxian@xxxxxxxxxx>

Fix a mistake in grammar.

Signed-off-by: gushengxian <gushengxian@xxxxxxxxxx>
---
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