]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: don't re-add debugfs during reconfig
authorJohannes Berg <johannes.berg@intel.com>
Mon, 11 Dec 2023 07:05:19 +0000 (09:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 12 Dec 2023 09:14:57 +0000 (10:14 +0100)
commit63bafd9d5421959b2124dd940ed8d7462d99f449
treef6553485ae1b4ab622376ad4691ca9d59ae90b4f
parent23484d817082c3005252d8edfc8292c8a1006b5b
wifi: mac80211: don't re-add debugfs during reconfig

If we're doing reconfig, then we cannot add the debugfs
files that are already there from before the reconfig.
Skip that in drv_change_sta_links() during reconfig.

Fixes: d2caad527c19 ("wifi: mac80211: add API to show the link STAs in debugfs")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Reviewed-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231211085121.88a950f43e16.Id71181780994649219685887c0fcad33d387cc78@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/driver-ops.c