wifi: mac80211: fix channel switch link data
authorJohannes Berg <johannes.berg@intel.com>
Sun, 27 Aug 2023 11:05:32 +0000 (14:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Sep 2023 10:33:55 +0000 (12:33 +0200)
commit86a8db67a1330c203ae54cf25f1af08616e2e3c2
treef330c3c11248a9232e2da9a3266dd78a5905edb7
parent563fe446ef2b30d0eb918a46070cfc7fb41290a7
wifi: mac80211: fix channel switch link data

Use the correct link ID and per-link puncturing data instead
of hardcoding link ID 0 and using deflink puncturing.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230827135854.0b6a211c8e75.I5724d32bb2dae440888efbc47334d8c115db9d50@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/mlme.c