summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2013-05-28 15:17:52 +0300
committerJohn W. Linville <linville@tuxdriver.com>2013-05-29 14:54:29 -0400
commitadc2d1225bed4bbf68473e6b5c4b91d2445609cb (patch)
treeb01342b8dc27c90c05da4ede8bb444df054dea89
parent933faa43ab9c1545c53ea082a8e4e1d1859568aa (diff)
downloadop-kernel-dev-adc2d1225bed4bbf68473e6b5c4b91d2445609cb.zip
op-kernel-dev-adc2d1225bed4bbf68473e6b5c4b91d2445609cb.tar.gz
wil6210: channel off by 1
WMI commands wants channel index, that is channel - 1 Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/wil6210/wmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wil6210/wmi.c b/drivers/net/wireless/ath/wil6210/wmi.c
index 5e01f4e..a091eb1 100644
--- a/drivers/net/wireless/ath/wil6210/wmi.c
+++ b/drivers/net/wireless/ath/wil6210/wmi.c
@@ -728,7 +728,7 @@ int wmi_pcp_start(struct wil6210_priv *wil, int bi, u8 wmi_nettype, u8 chan)
.bcon_interval = cpu_to_le16(bi),
.network_type = wmi_nettype,
.disable_sec_offload = 1,
- .channel = chan,
+ .channel = chan - 1,
};
struct {
struct wil6210_mbox_hdr_wmi wmi;
OpenPOWER on IntegriCloud