]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: remove debugfs dir for virtual monitor
authorAlexander Wetzel <Alexander@wetzel-home.de>
Tue, 4 Feb 2025 16:42:40 +0000 (17:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:28 +0000 (14:39 +0200)
commite0862a6d3dabddbfaa44990a950f131c88d467cb
treea01c5b6fac74baf1555e35a92f0aa481a6ce64fb
parent5d42a34137243b1d86acf02b49963c529ff6ea3e
wifi: mac80211: remove debugfs dir for virtual monitor

[ Upstream commit 646262c71aca87bb66945933abe4e620796d6c5a ]

Don't call ieee80211_debugfs_recreate_netdev() for virtual monitor
interface when deleting it.

The virtual monitor interface shouldn't have debugfs entries and trying
to update them will *create* them on deletion.

And when the virtual monitor interface is created/destroyed multiple
times we'll get warnings about debugfs name conflicts.

Signed-off-by: Alexander Wetzel <Alexander@wetzel-home.de>
Link: https://patch.msgid.link/20250204164240.370153-1-Alexander@wetzel-home.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/driver-ops.c
net/mac80211/iface.c