wifi: mac80211: Don't translate MLD addresses for multicast
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 14 Feb 2023 10:10:48 +0000 (12:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Feb 2023 12:36:06 +0000 (13:36 +0100)
commitdaf8fb4295dccc032515cdc1bd3873370063542b
treea89454462110449a3e3c9ab39a112d28424e7253
parentd99975c4953eb79e389d4630e848435c700e2dfc
wifi: mac80211: Don't translate MLD addresses for multicast

MLD address translation should be done only for individually addressed
frames. Otherwise, AAD calculation would be wrong and the decryption
would fail.

Fixes: e66b7920aa5ac ("wifi: mac80211: fix initialization of rx->link and rx->link_sta")
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Link: https://lore.kernel.org/r/20230214101048.792414-1-andrei.otcheretianski@intel.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c