summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/key.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@kernel.org>2023-08-25 13:15:26 +0300
committerKalle Valo <kvalo@kernel.org>2023-08-25 13:15:26 +0300
commit4dddbad8907bc2ecda6e3714de3ea0a27b90a7d3 (patch)
tree71a1a0ae9c399434a2bae7b386772faf2606d807 /drivers/net/wireless/ath/key.c
parente8afebbf434b7d7aede0122032ece40ae671bb44 (diff)
parent4c2964ef553b9c7c4ae1803158386a8b169f8f4e (diff)
Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
ath.git patches for v6.6. No major changes, only smaller fixes and cleanups this time.
Diffstat (limited to 'drivers/net/wireless/ath/key.c')
-rw-r--r--drivers/net/wireless/ath/key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/key.c b/drivers/net/wireless/ath/key.c
index b7b61d4f02ba..21a93fec284d 100644
--- a/drivers/net/wireless/ath/key.c
+++ b/drivers/net/wireless/ath/key.c
@@ -104,7 +104,7 @@ bool ath_hw_keysetmac(struct ath_common *common, u16 entry, const u8 *mac)
* Not setting this bit allows the hardware to use the key
* for multicast frame decryption.
*/
- if (mac[0] & 0x01)
+ if (is_multicast_ether_addr(mac))
unicast_flag = 0;
macLo = get_unaligned_le32(mac);