Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Janusz Dziedzic and committed by
John W. Linville
87eb0167 3d8bfe14

+2 -2
+2 -2
drivers/net/wireless/ath/ath9k/init.c
··· 863 863 .max_interfaces = 1, 864 864 .num_different_channels = 1, 865 865 .beacon_int_infra_match = true, 866 - .radar_detect_widths = BIT(NL80211_CHAN_NO_HT) | 867 - BIT(NL80211_CHAN_HT20), 866 + .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) | 867 + BIT(NL80211_CHAN_WIDTH_20), 868 868 } 869 869 }; 870 870