wifi: mac80211: refactor some sta_info link handling
authorJohannes Berg <johannes.berg@intel.com>
Mon, 30 May 2022 19:31:37 +0000 (21:31 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Jun 2022 10:55:18 +0000 (12:55 +0200)
commit246b39e4a1ba5ad77edfb2f28d147abc5e2bb0a7
treee9bb94092a2ff55fa5f61c4da9c329cfaad1f511
parent2a5ccbeec0f226c3a1099aac74069d89ea119e01
wifi: mac80211: refactor some sta_info link handling

Refactor the code a bit to initialize a link belonging
to a station, and (later) free all allocated links.

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