summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2026-10-08 16:56:45 +0200
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2026-10-09 06:50:34 -0700
commit97aab70a03df478ffefcf890ed4be258c0240bcb (patch)
tree2c9905b83c2075d52c90d9340473c4829252ce68 /drivers
parent86f2537877d6029487811bc3e0cd9e086a196000 (diff)
wifi: ath6kl: don't take RTNL in del_virtual_intf
cfg80211 already holds the RTNL here, so this will just deadlock. Remove the extra RTNL acquisition. Oddly enough this was all true even back when the locking here was added, so this is just a revert of a broken ~13 year old commit. Fixes: bc52aab380c7 ("ath6kl: Protect ath6kl_cfg80211_vif_cleanup using rtnl_locks") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Link: https://patch.msgid.link/20261008165646.48866f0521af.I1c166be830384473f67677eeb187afa7e54106ea@changeid Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath6kl/cfg80211.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index a9a35476fecd..65b7c68a9297 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -1560,9 +1560,7 @@ static int ath6kl_cfg80211_del_iface(struct wiphy *wiphy,
ath6kl_cfg80211_vif_stop(vif, test_bit(WMI_READY, &ar->flag));
- rtnl_lock();
ath6kl_cfg80211_vif_cleanup(vif);
- rtnl_unlock();
return 0;
}