aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wil6210/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/main.c')
-rw-r--r--drivers/net/wireless/ath/wil6210/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/wil6210/main.c b/drivers/net/wireless/ath/wil6210/main.c
index 32ac1b906abe..351925b5d2c8 100644
--- a/drivers/net/wireless/ath/wil6210/main.c
+++ b/drivers/net/wireless/ath/wil6210/main.c
@@ -159,6 +159,7 @@ static void wil_fw_error_worker(struct work_struct *work)
159 if (no_fw_recovery) 159 if (no_fw_recovery)
160 return; 160 return;
161 161
162 mutex_lock(&wil->mutex);
162 switch (wdev->iftype) { 163 switch (wdev->iftype) {
163 case NL80211_IFTYPE_STATION: 164 case NL80211_IFTYPE_STATION:
164 case NL80211_IFTYPE_P2P_CLIENT: 165 case NL80211_IFTYPE_P2P_CLIENT:
@@ -176,6 +177,7 @@ static void wil_fw_error_worker(struct work_struct *work)
176 default: 177 default:
177 break; 178 break;
178 } 179 }
180 mutex_unlock(&wil->mutex);
179} 181}
180 182
181static int wil_find_free_vring(struct wil6210_priv *wil) 183static int wil_find_free_vring(struct wil6210_priv *wil)