Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi: mac80211: add/remove driver debugfs entries as appropriate
mainline inclusion from mainline-v6.7 category: bugfix 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: a1f5dcb ("wifi: mac80211: add a driver callback to add vif debugfs") Signed-off-by: Benjamin Berg <[email protected]> Reviewed-by: Gregory Greenman <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://msgid.link/20231220043149.a9f64c359424.I7076526b5297ae8f832228079c999f7b8e147a4c@changeid Signed-off-by: Johannes Berg <[email protected]> (cherry picked from commit 0a3d898) Signed-off-by: Wentao Guan <[email protected]>
- Loading branch information