]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
libertas_tf: Use correct channel range in lbtf_geo_init
authorYueHaibing <yuehaibing@huawei.com>
Tue, 16 Jul 2019 14:42:18 +0000 (22:42 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commite56a42936383a3cf65819700855e828a051e7b68
treeb66cbbe89c64d556f51c74d877076644f49e93c3
parenta33262fa95f41139271273161b20ce917873128f
libertas_tf: Use correct channel range in lbtf_geo_init

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 2ec4ad49b98e4a14147d04f914717135eca7c8b1 ]

It seems we should use 'range' instead of 'priv->range'
in lbtf_geo_init(), because 'range' is the corret one
related to current regioncode.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 691cdb49388b ("libertas_tf: command helper functions for libertas_tf")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/wireless/marvell/libertas_tf/cmd.c