aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/wireless/util.c')
-rw-r--r--net/wireless/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c
index 5433659a08ee..d032a31828f1 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -1309,7 +1309,7 @@ int cfg80211_check_combinations(struct wiphy *wiphy,
1309 } 1309 }
1310 } 1310 }
1311 1311
1312 if (radar_detect && !(c->radar_detect_widths & radar_detect)) 1312 if (radar_detect != (c->radar_detect_widths & radar_detect))
1313 goto cont; 1313 goto cont;
1314 1314
1315 /* Finally check that all iftypes that we're currently 1315 /* Finally check that all iftypes that we're currently