File tree 1 file changed +3
-3
lines changed
drivers/net/wireless/ath/ath11k
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ int ath11k_regd_update(struct ath11k *ar, bool init)
206
206
ab = ar -> ab ;
207
207
pdev_id = ar -> pdev_idx ;
208
208
209
- spin_lock (& ab -> base_lock );
209
+ spin_lock_bh (& ab -> base_lock );
210
210
211
211
if (init ) {
212
212
/* Apply the regd received during init through
@@ -227,7 +227,7 @@ int ath11k_regd_update(struct ath11k *ar, bool init)
227
227
228
228
if (!regd ) {
229
229
ret = - EINVAL ;
230
- spin_unlock (& ab -> base_lock );
230
+ spin_unlock_bh (& ab -> base_lock );
231
231
goto err ;
232
232
}
233
233
@@ -238,7 +238,7 @@ int ath11k_regd_update(struct ath11k *ar, bool init)
238
238
if (regd_copy )
239
239
ath11k_copy_regd (regd , regd_copy );
240
240
241
- spin_unlock (& ab -> base_lock );
241
+ spin_unlock_bh (& ab -> base_lock );
242
242
243
243
if (!regd_copy ) {
244
244
ret = - ENOMEM ;
You can’t perform that action at this time.
0 commit comments