diff options
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2013-05-28 08:17:52 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-05-29 14:54:29 -0400 |
commit | adc2d1225bed4bbf68473e6b5c4b91d2445609cb (patch) | |
tree | b01342b8dc27c90c05da4ede8bb444df054dea89 /drivers | |
parent | 933faa43ab9c1545c53ea082a8e4e1d1859568aa (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/wmi.c | 2 |
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 5e01f4ee4de7..a091eb11e392 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) | |||
728 | .bcon_interval = cpu_to_le16(bi), | 728 | .bcon_interval = cpu_to_le16(bi), |
729 | .network_type = wmi_nettype, | 729 | .network_type = wmi_nettype, |
730 | .disable_sec_offload = 1, | 730 | .disable_sec_offload = 1, |
731 | .channel = chan, | 731 | .channel = chan - 1, |
732 | }; | 732 | }; |
733 | struct { | 733 | struct { |
734 | struct wil6210_mbox_hdr_wmi wmi; | 734 | struct wil6210_mbox_hdr_wmi wmi; |