Commit 1570e53c authored by Arend van Spriel's avatar Arend van Spriel Committed by John W. Linville
Browse files

brcm80211: smac: fix unintended fallthru in wlc_phy_radio_init_2057()



The radio initialization for 2057 rev 5 was using the incorrect
register table for the initialization. This patch fixes that.

Reported-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Reviewed-by: default avatarPieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: default avatarAlwin Beukers <alwin@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 14433f4d
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -19989,11 +19989,10 @@ static void wlc_phy_radio_init_2057(struct brcms_phy *pi)
		switch (pi->pubpi.radiorev) {
		case 5:
			if (pi->pubpi.radiover == 0x0)
			if (NREV_IS(pi->pubpi.phy_rev, 8))
				regs_2057_ptr = regs_2057_rev5;
			else if (pi->pubpi.radiover == 0x1)
			else if (NREV_IS(pi->pubpi.phy_rev, 9))
				regs_2057_ptr = regs_2057_rev5v1;
			else
			break;
		case 7: