aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/bcma
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-01-20 16:46:04 +0100
committerKalle Valo <kvalo@codeaurora.org>2016-02-06 13:43:29 +0200
commit36e8072ebeb1981074c7ec1b63bae3ecc3295b4b (patch)
tree5b466a5ca9c5212618d7eb3b3eed1981f3f8d1c1 /include/linux/bcma
parentbcma: support PMU present as separated bus core (diff)
downloadlinux-dev-36e8072ebeb1981074c7ec1b63bae3ecc3295b4b.tar.xz
linux-dev-36e8072ebeb1981074c7ec1b63bae3ecc3295b4b.zip
brcmfmac: fix setting primary channel for 80 MHz width
First of all it changes the way we calculate primary channel offset. If we use e.g. 80 MHz channel with primary frequency 5180 MHz (which means center frequency is 5210 MHz) it makes sense to calculate primary offset as -30 MHz. Then it fixes values we compare primary_offset with. We were comparing offset in MHz against -2 or 2 which was resulting in picking a wrong primary channel. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/linux/bcma')
0 files changed, 0 insertions, 0 deletions