summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet
diff options
context:
space:
mode:
authorAjit Khaparde <ajit.khaparde@emulex.com>2011-02-11 13:38:29 +0000
committerDavid S. Miller <davem@davemloft.net>2011-02-11 21:14:49 -0800
commit9b037f3811acb0e613fae0fdf74e717f259b5b51 (patch)
tree3259cec8a0c29a0c19dd6f3aa4da4f735976a55d /drivers/net/benet
parent7acc2087fa204461871eccfdc913eef15ffd5c8f (diff)
downloadblackbird-op-linux-9b037f3811acb0e613fae0fdf74e717f259b5b51.tar.gz
blackbird-op-linux-9b037f3811acb0e613fae0fdf74e717f259b5b51.zip
be2net: detect a UE even when a interface is down.
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet')
-rw-r--r--drivers/net/benet/be_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 1f5e342dd883..aad7ea37d589 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -1866,6 +1866,10 @@ static void be_worker(struct work_struct *work)
struct be_mcc_obj *mcc_obj = &adapter->mcc_obj;
be_cq_notify(adapter, mcc_obj->cq.id, false, mcc_compl);
}
+
+ if (!adapter->ue_detected && !lancer_chip(adapter))
+ be_detect_dump_ue(adapter);
+
goto reschedule;
}
OpenPOWER on IntegriCloud