OSDN Git Service

wifi: mac80211: allow link address A2 in TXQ dequeue
authorJohannes Berg <johannes.berg@intel.com>
Wed, 24 Aug 2022 10:37:32 +0000 (12:37 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Aug 2022 08:41:34 +0000 (10:41 +0200)
commit3579f4c28e77a8a19cb804ab7f7ea6843c50f6ad
treeac03f7962e76ba4a9aaaee959c58d7b219b0b9b3
parenta6ba64d0b187109dc252969c1fc9e2525868bd49
wifi: mac80211: allow link address A2 in TXQ dequeue

In ieee80211_tx_dequeue() we currently allow a control port
frame to be transmitted on a non-authorized port only if the
A2 matches the local interface address, but if that's an MLD
and the peer is a legacy peer, we need to allow link address
here. Fix that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c