diff options
author | Alexei Avshalom Lazar <ailizaro@codeaurora.org> | 2018-08-13 15:33:00 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-08-28 12:23:08 +0300 |
commit | 9cf0a0b4b64ae103cf0e7dfaa72b44ecda24c0eb (patch) | |
tree | fea11a7f68a5ecd192b168f45308c6f088e94ad2 /drivers/net/wireless/ath/wil6210/debugfs.c | |
parent | 21a5d4c3a45ca608477a083096cfbce76e449a0c (diff) | |
download | linux-9cf0a0b4b64ae103cf0e7dfaa72b44ecda24c0eb.tar.xz |
cfg80211: Add support for 60GHz band channels 5 and 6
The current support in the 60GHz band is for channels 1-4.
Add support for channels 5 and 6.
This requires enlarging ieee80211_channel.center_freq from u16 to u32.
Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/debugfs.c')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/debugfs.c b/drivers/net/wireless/ath/wil6210/debugfs.c index 51c3330bc316..49533f884993 100644 --- a/drivers/net/wireless/ath/wil6210/debugfs.c +++ b/drivers/net/wireless/ath/wil6210/debugfs.c @@ -1436,7 +1436,7 @@ static int wil_freq_debugfs_show(struct seq_file *s, void *data) { struct wil6210_priv *wil = s->private; struct wireless_dev *wdev = wil->main_ndev->ieee80211_ptr; - u16 freq = wdev->chandef.chan ? wdev->chandef.chan->center_freq : 0; + u32 freq = wdev->chandef.chan ? wdev->chandef.chan->center_freq : 0; seq_printf(s, "Freq = %d\n", freq); |