Benjamin Berg 0a3d898ee9 wifi: mac80211: add/remove driver debugfs entries as appropriate
When an interface is removed, we should also be deleting the driver
debugfs entries (as it might still exist in DOWN state in mac80211). At
the same time, when adding an interface, we can check the
IEEE80211_SDATA_IN_DRIVER flag to know whether the interface was
previously known to the driver and is simply being reconfigured.

Fixes: a1f5dcb1c0c1 ("wifi: mac80211: add a driver callback to add vif debugfs")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231220043149.a9f64c359424.I7076526b5297ae8f832228079c999f7b8e147a4c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-12-19 13:08:00 +01:00
..
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-09-11 11:27:22 +02:00
2023-10-06 17:08:47 +03:00
2023-09-11 11:27:22 +02:00
2023-10-23 11:43:28 +02:00
2023-09-11 11:27:22 +02:00
2023-10-26 20:27:58 -07:00
2023-09-11 11:27:22 +02:00
2023-10-06 17:08:47 +03:00
2023-09-26 09:16:42 +02:00
2023-09-26 09:16:42 +02:00