wifi: mac80211: fix link data leak
authorJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 09:15:20 +0000 (11:15 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:52 +0000 (14:28 +0200)
commitfa28981b35128132aeb69a0a2ea2ff1c49bea6d9
treedb07535302871fd6c8620012d2a9ce88cee61844
parenta94c90d32193ceac2aa5fc36f3833deeeb85bf8d
wifi: mac80211: fix link data leak

During the code reshuffling, I accidentally set this to
NULL before using it, fix that to fix the link data leak.

Fixes: d3e2439b0f33 ("wifi: mac80211: fix link manipulation")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c