ath9k: DFS radar use correct width enum
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Fri, 1 Nov 2013 19:39:49 +0000 (20:39 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Nov 2013 19:38:59 +0000 (14:38 -0500)
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>
drivers/net/wireless/ath/ath9k/init.c

index d8643eb..d1c5de0 100644 (file)
@@ -863,8 +863,8 @@ static const struct ieee80211_iface_combination if_comb[] = {
                .max_interfaces = 1,
                .num_different_channels = 1,
                .beacon_int_infra_match = true,
-               .radar_detect_widths =  BIT(NL80211_CHAN_NO_HT) |
-                                       BIT(NL80211_CHAN_HT20),
+               .radar_detect_widths =  BIT(NL80211_CHAN_WIDTH_20_NOHT) |
+                                       BIT(NL80211_CHAN_WIDTH_20),
        }
 };