diff options
author | Felix Fietkau <nbd@nbd.name> | 2023-09-19 21:47:47 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-09-22 10:28:15 +0300 |
commit | 684e45e120b82deccaf8b85633905304a3bbf56d (patch) | |
tree | 00104c7768bc9922efc0a714d43782db5d616823 /crypto/kpp.c | |
parent | 4fed494abcd4fde5c24de19160e93814f912fdb3 (diff) |
wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling
On MT76x0, LNA gain should be applied for both external and internal LNA.
On MT76x2, LNA gain should be treated as 0 for external LNA.
Move the LNA type based logic to mt76x2 in order to fix mt76x0.
Fixes: 2daa67588f34 ("mt76x0: unify lna_gain parsing")
Reported-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230919194747.31647-1-nbd@nbd.name
Diffstat (limited to 'crypto/kpp.c')
0 files changed, 0 insertions, 0 deletions