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)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 Jul 2019 11:53:40 +0000 (14:53 +0300)
commit2ec4ad49b98e4a14147d04f914717135eca7c8b1
tree8e589c83735c84ea8f1c95234fd8bb0983be680f
parent8812022cb2fdaa1c6d7e0c3e028b45ca039650ea
libertas_tf: Use correct channel range in lbtf_geo_init

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>
drivers/net/wireless/marvell/libertas_tf/cmd.c