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

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>

authored by

Vladimir Kondratiev and committed by
John W. Linville
adc2d122 933faa43

+1 -1
+1 -1
drivers/net/wireless/ath/wil6210/wmi.c
··· 728 728 .bcon_interval = cpu_to_le16(bi), 729 729 .network_type = wmi_nettype, 730 730 .disable_sec_offload = 1, 731 - .channel = chan, 731 + .channel = chan - 1, 732 732 }; 733 733 struct { 734 734 struct wil6210_mbox_hdr_wmi wmi;