Skip to content
Commit 733c498a authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: mac80211: fix driver debugfs for vif type change



If a driver implements the change_interface() method, we switch
interface type without taking the interface down, but still will
recreate the debugfs for it since it's a new type. As such, we
should use the ieee80211_debugfs_recreate_netdev() function here
to also recreate the driver's files, if it is indeed from a type
change while up.

Link: https://msgid.link/20240129155402.7311a36ffeeb.I18df02bbeb685d4250911de5ffbaf090f60c3803@changeid
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent dd6c064c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment