wifi: mac80211: fix link warning in RX agg timer expiry
authorMukesh Sisodiya <mukesh.sisodiya@intel.com>
Fri, 2 Sep 2022 14:11:31 +0000 (16:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 3 Sep 2022 14:40:03 +0000 (16:40 +0200)
commit4a86c5462616e0d690ad3c94dc84c3b5f1ea5631
tree1fbcc48ff5e61fee837032883c07727509452cd6
parent6d0ef7241553f3553a0a2764c69b07892705924c
wifi: mac80211: fix link warning in RX agg timer expiry

The rx data link pointer isn't set from the RX aggregation timer,
resulting in a later warning. Fix that by setting it to the first
valid link for now, with a FIXME to worry about statistics later,
it's not very important since it's just the timeout case.

Reported-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/498d714c-76be-9d04-26db-a1206878de5e@redhat.com
Fixes: 56057da4569b ("wifi: mac80211: rx: track link in RX data")
Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c