Message ID | 20220726170920.15929-9-prestwoj@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [01/10] manager: unregister nl80211 config watch | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-ci-gitlint | success | GitLint |
diff --git a/src/wiphy.c b/src/wiphy.c index 5329e8e4..30653b91 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -707,6 +707,7 @@ bool wiphy_constrain_freq_set(const struct wiphy *wiphy, struct scan_freq_set *set) { scan_freq_set_constrain(set, wiphy->supported_freqs); + scan_freq_set_subtract(set, wiphy->disabled_freqs); if (!scan_freq_set_get_bands(set)) /* The set is empty. */