Commit 87eb0167 authored by Janusz Dziedzic's avatar Janusz Dziedzic Committed by John W. Linville

ath9k: DFS radar use correct width enum

Use correct width enums when setup
radar_detect_widths for DFS.
Signed-off-by: default avatarJanusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 3d8bfe14
...@@ -863,8 +863,8 @@ static const struct ieee80211_iface_combination if_comb[] = { ...@@ -863,8 +863,8 @@ static const struct ieee80211_iface_combination if_comb[] = {
.max_interfaces = 1, .max_interfaces = 1,
.num_different_channels = 1, .num_different_channels = 1,
.beacon_int_infra_match = true, .beacon_int_infra_match = true,
.radar_detect_widths = BIT(NL80211_CHAN_NO_HT) | .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) |
BIT(NL80211_CHAN_HT20), BIT(NL80211_CHAN_WIDTH_20),
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment