]> Pileus Git - ~andy/linux/blobdiff - drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
bnx2x: Add missing braces in bnx2x:bnx2x_link_initialize
[~andy/linux] / drivers / net / ethernet / broadcom / bnx2x / bnx2x_link.c
index 9d64b988ab34e03be950a9da2f8642770b35586b..664568420c9bdd08869e33802ee8c208e307c082 100644 (file)
@@ -6501,12 +6501,13 @@ static int bnx2x_link_initialize(struct link_params *params,
                struct bnx2x_phy *phy = &params->phy[INT_PHY];
                if (vars->line_speed == SPEED_AUTO_NEG &&
                    (CHIP_IS_E1x(bp) ||
-                    CHIP_IS_E2(bp)))
+                    CHIP_IS_E2(bp))) {
                        bnx2x_set_parallel_detection(phy, params);
                        if (params->phy[INT_PHY].config_init)
                                params->phy[INT_PHY].config_init(phy,
                                                                 params,
                                                                 vars);
+               }
        }
 
        /* Init external phy*/