wifi: mac80211: mlme: use correct link_sta
authorJohannes Berg <johannes.berg@intel.com>
Mon, 27 Jun 2022 12:17:28 +0000 (14:17 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:16 +0000 (11:43 +0200)
commit98b0b467466c6afe8f2863158383444fbbc5f322
treec389bcd8ede50733d720945c6833f81a69224fd4
parentd3853f700ce621f7f90f3a119a1b706f829fc55f
wifi: mac80211: mlme: use correct link_sta

For station capabilities, e.g. TWT, we need to use the correct
link station instead of deflink. Switch the code to do that.

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