We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dda093 commit 4a63523Copy full SHA for 4a63523
net/wireless/reg.c
@@ -4234,6 +4234,8 @@ static void cfg80211_check_and_end_cac(struct cfg80211_registered_device *rdev)
4234
struct wireless_dev *wdev;
4235
unsigned int link_id;
4236
4237
+ wiphy_lock(&rdev->wiphy);
4238
+
4239
/* If we finished CAC or received radar, we should end any
4240
* CAC running on the same channels.
4241
* the check !cfg80211_chandef_dfs_usable contain 2 options:
@@ -4258,6 +4260,8 @@ static void cfg80211_check_and_end_cac(struct cfg80211_registered_device *rdev)
4258
4260
rdev_end_cac(rdev, wdev->netdev, link_id);
4259
4261
}
4262
4263
4264
+ wiphy_unlock(&rdev->wiphy);
4265
4266
4267
void regulatory_propagate_dfs_state(struct wiphy *wiphy,
0 commit comments