Message ID | 20210609081556.19641-1-13145886936@163.com |
---|---|
State | New |
Headers | show |
Series | nl80211: fix a mistake in grammar | expand |
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;