Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2755be5 authored by Yaniv Rosner's avatar Yaniv Rosner Committed by David S. Miller
Browse files

bnx2x: Fix 1G-baseT link



Set the phy access mode even in case of link-flap avoidance.

Signed-off-by: default avatarYaniv Rosner <yaniv.rosner@qlogic.com>
Signed-off-by: default avatarYuval Mintz <yuval.mintz@qlogic.com>
Signed-off-by: default avatarAriel Elior <ariel.elior@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dad91ee4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12472,6 +12472,7 @@ static int bnx2x_avoid_link_flap(struct link_params *params,
	u32 dont_clear_stat, lfa_sts;
	struct bnx2x *bp = params->bp;

	bnx2x_set_mdio_emac_per_phy(bp, params);
	/* Sync the link parameters */
	bnx2x_link_status_update(params, vars);