diff options
author | Ben Greear <greearb@candelatech.com> | 2018-01-03 01:51:01 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-06-14 17:08:37 +0200 |
commit | 38441fb6fcbb97817dff5c012609860a2b39c3e9 (patch) | |
tree | 8641911e1b5ed569ff0d0a1c047461d253f2f72d /drivers/net/wireless/ath/ath10k/wmi.c | |
parent | ath10k: fix memory leak of tpc_stats (diff) | |
download | linux-38441fb6fcbb97817dff5c012609860a2b39c3e9.tar.xz linux-38441fb6fcbb97817dff5c012609860a2b39c3e9.zip |
ath10k: support use of channel 173
The India regulatory domain allows CH 173, so add that to the
available channel list. I verified basic connectivity between
a 9880 and 9984 NIC.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/wmi.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index 2319f79b34f0..be841cbf8099 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c @@ -2366,7 +2366,7 @@ int ath10k_wmi_event_mgmt_rx(struct ath10k *ar, struct sk_buff *skb) */ if (channel >= 1 && channel <= 14) { status->band = NL80211_BAND_2GHZ; - } else if (channel >= 36 && channel <= 169) { + } else if (channel >= 36 && channel <= ATH10K_MAX_5G_CHAN) { status->band = NL80211_BAND_5GHZ; } else { /* Shouldn't happen unless list of advertised channels to |