summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorWen Gong <quic_wgong@quicinc.com>2023-06-13 12:19:45 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2023-06-15 14:35:40 +0300
commit3a5d50f8eb4fcf3c69ae858020c49877e4eeaf05 (patch)
treefec50dae34ad259afcdf0ab0884cb9f8a035a6fd /drivers/net/wireless
parent6aafa1c2d3e3fea2ebe84c018003f2a91722e607 (diff)
downloadlinux-stable-3a5d50f8eb4fcf3c69ae858020c49877e4eeaf05.tar.gz
linux-stable-3a5d50f8eb4fcf3c69ae858020c49877e4eeaf05.tar.bz2
linux-stable-3a5d50f8eb4fcf3c69ae858020c49877e4eeaf05.zip
wifi: ath12k: fix conf_mutex in ath12k_mac_op_unassign_vif_chanctx()
"mutex_unlock(&ar->conf_mutex);" is always called at end of function ath12k_mac_op_unassign_vif_chanctx(), so delete this unlock to make sure lock/unlock is paired. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 Signed-off-by: Wen Gong <quic_wgong@quicinc.com> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20230608104444.3134-1-quic_wgong@quicinc.com
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath12k/mac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath12k/mac.c b/drivers/net/wireless/ath/ath12k/mac.c
index a344211f5b53..1bb9802ef569 100644
--- a/drivers/net/wireless/ath/ath12k/mac.c
+++ b/drivers/net/wireless/ath/ath12k/mac.c
@@ -5928,7 +5928,6 @@ ath12k_mac_op_unassign_vif_chanctx(struct ieee80211_hw *hw,
}
arvif->is_started = false;
- mutex_unlock(&ar->conf_mutex);
}
ret = ath12k_mac_vdev_stop(arvif);