diff options
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_iba6120.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_iba6120.c b/drivers/infiniband/hw/ipath/ipath_iba6120.c index a9fc80409e5..f1447be4cfd 100644 --- a/drivers/infiniband/hw/ipath/ipath_iba6120.c +++ b/drivers/infiniband/hw/ipath/ipath_iba6120.c | |||
@@ -853,7 +853,7 @@ static void ipath_setup_pe_setextled(struct ipath_devdata *dd, u64 lst, | |||
853 | extctl = dd->ipath_extctrl & ~(INFINIPATH_EXTC_LED1PRIPORT_ON | | 853 | extctl = dd->ipath_extctrl & ~(INFINIPATH_EXTC_LED1PRIPORT_ON | |
854 | INFINIPATH_EXTC_LED2PRIPORT_ON); | 854 | INFINIPATH_EXTC_LED2PRIPORT_ON); |
855 | 855 | ||
856 | if (ltst & INFINIPATH_IBCS_LT_STATE_LINKUP) | 856 | if (ltst == INFINIPATH_IBCS_LT_STATE_LINKUP) |
857 | extctl |= INFINIPATH_EXTC_LED2PRIPORT_ON; | 857 | extctl |= INFINIPATH_EXTC_LED2PRIPORT_ON; |
858 | if (lst == INFINIPATH_IBCS_L_STATE_ACTIVE) | 858 | if (lst == INFINIPATH_IBCS_L_STATE_ACTIVE) |
859 | extctl |= INFINIPATH_EXTC_LED1PRIPORT_ON; | 859 | extctl |= INFINIPATH_EXTC_LED1PRIPORT_ON; |