diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2018-10-25 18:18:33 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-11-30 12:21:43 +0100 |
commit | ad3f993a0857ad3b792e7463828eb0d90cdd6f4d (patch) | |
tree | 5a61b9e7852fc41b6181b4d6e007ed3605334f2c /drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c | |
parent | 07e548521274729c4af71e28a67b51dbd2361c0d (diff) | |
download | linux-ad3f993a0857ad3b792e7463828eb0d90cdd6f4d.tar.bz2 |
mt76x0: use band parameter for LC calibration
We use always 1 as band parameter for MCU_CAL_LC, this break 2GHz,
we should use 0 for this band instead.
Patch fixes problems happened sometimes when try to associate with 2GHz
AP and manifest by errors like below:
[14680.920823] wlan0: authenticate with 18:31:bf:c0:51:b0
[14681.109506] wlan0: send auth to 18:31:bf:c0:51:b0 (try 1/3)
[14681.310454] wlan0: send auth to 18:31:bf:c0:51:b0 (try 2/3)
[14681.518469] wlan0: send auth to 18:31:bf:c0:51:b0 (try 3/3)
[14681.726499] wlan0: authentication with 18:31:bf:c0:51:b0 timed out
Fixes: 9aec146d0f6b ("mt76x0: pci: introduce mt76x0_phy_calirate routine")
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c')
0 files changed, 0 insertions, 0 deletions