mac80211: fix starting aggregation sessions on mesh interfaces
authorFelix Fietkau <nbd@nbd.name>
Tue, 29 Jun 2021 11:28:53 +0000 (13:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jul 2021 08:34:00 +0000 (10:34 +0200)
commit1a7915501ca94a1f10288defe333cd5ade210b63
treec5b5e5d78213b1abbcae65a73cd3ec6c2a272df4
parentec61cd49bf566401306cfc4855bda8c08bbaa46c
mac80211: fix starting aggregation sessions on mesh interfaces

The logic for starting aggregation sessions was recently moved from minstrel_ht
to mac80211, into the subif tx handler just after the sta lookup.
Unfortunately this didn't work for mesh interfaces, since the sta lookup is
deferred until a much later point in time on those.
Fix this by also calling the aggregation check right after the deferred sta
lookup.

Fixes: 08a46c642001 ("mac80211: move A-MPDU session check from minstrel_ht to mac80211")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210629112853.29785-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c