wifi: mac80211: set link_sta in reorder timeout
authorJohannes Berg <johannes.berg@intel.com>
Tue, 6 Sep 2022 08:08:37 +0000 (10:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Sep 2022 08:09:55 +0000 (10:09 +0200)
commite95a7f3ddc1b47838e5c131f77eb9525724c3e73
tree1623edf7e7bb4c7201e860926e347da662231202
parentb38d15294ffe9b87b092d310f321e2d0a9d2b3b2
wifi: mac80211: set link_sta in reorder timeout

Now that we have a link_sta pointer in the rx struct
we also need to fill it in all the cases. It didn't
matter so much until now as we weren't using it, but
the code should really be able to assume that if the
rx.sta is set, so is rx.link_sta.

Fixes: ccdde7c74ffd ("wifi: mac80211: properly implement MLO key handling")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c