summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wl_cfg80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wl_cfg80211.c b/wl_cfg80211.c
index c4612ad..29e76d4 100644
--- a/wl_cfg80211.c
+++ b/wl_cfg80211.c
@@ -24527,7 +24527,7 @@ wl_cfg80211_debug_data_dump(struct net_device *dev, u8 *buf, u32 buf_len)
void
wl_cfg80211_wdev_lock(struct wireless_dev *wdev)
{
- mutex_lock(&wdev->mtx);
+ wiphy_lock(wdev->wiphy);
__acquire(wdev->mtx);
}
@@ -24535,7 +24535,7 @@ void
wl_cfg80211_wdev_unlock(struct wireless_dev *wdev)
{
__release(wdev->mtx);
- mutex_unlock(&wdev->mtx);
+ wiphy_unlock(wdev->wiphy);
}
#ifdef WL_CLIENT_SAE