OSDN Git Service

mt76x0: phy: fix bank check in mt76x0_rf_csr_{wr,rr}
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Sun, 7 Oct 2018 09:37:40 +0000 (11:37 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 13 Oct 2018 15:39:15 +0000 (17:39 +0200)
commita14054ce0b8ada03a7ddea14e51812e2fd583c94
tree185587a264dc9ce2955ea06f032bd8182ddc847f
parent69cacac3b3ffdd9495e83bc34674d3fab34aaa44
mt76x0: phy: fix bank check in mt76x0_rf_csr_{wr,rr}

Fix typo in bank check in mt76x0_rf_csr_{wr,rr} routines.
This issue has never been hit since mt76x0_rf_csr_{wr,rr}
are actually used just by pci code

Fixes: 10de7a8b4ab9 ("mt76x0: phy files")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/phy.c