diff options
author | Janusz Dziedzic <janusz.dziedzic@tieto.com> | 2013-11-01 15:39:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-11-11 14:38:59 -0500 |
commit | 87eb01679a9084bc9a4ba3c92c5692def116fffc (patch) | |
tree | b2d6fe0c3fc30f96c16aff8d0bafbf5326d82319 /drivers/net/wireless/ath/ath9k/init.c | |
parent | 3d8bfe141be8e5c21261fc63da8e7964d44f2645 (diff) |
ath9k: DFS radar use correct width enum
Use correct width enums when setup
radar_detect_widths for DFS.
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index d8643ebabd30..d1c5de0c0261 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c | |||
@@ -863,8 +863,8 @@ static const struct ieee80211_iface_combination if_comb[] = { | |||
863 | .max_interfaces = 1, | 863 | .max_interfaces = 1, |
864 | .num_different_channels = 1, | 864 | .num_different_channels = 1, |
865 | .beacon_int_infra_match = true, | 865 | .beacon_int_infra_match = true, |
866 | .radar_detect_widths = BIT(NL80211_CHAN_NO_HT) | | 866 | .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) | |
867 | BIT(NL80211_CHAN_HT20), | 867 | BIT(NL80211_CHAN_WIDTH_20), |
868 | } | 868 | } |
869 | }; | 869 | }; |
870 | 870 | ||