mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
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: 691cdb4938 ("libertas_tf: command helper functions for libertas_tf")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
8812022cb2
commit
2ec4ad49b9
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ static void lbtf_geo_init(struct lbtf_private *priv)
|
|||
break;
|
||||
}
|
||||
|
||||
for (ch = priv->range.start; ch < priv->range.end; ch++)
|
||||
for (ch = range->start; ch < range->end; ch++)
|
||||
priv->channels[CHAN_TO_IDX(ch)].flags = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue