be2net: detect a UE even when a interface is down.
authorAjit Khaparde <ajit.khaparde@emulex.com>
Fri, 11 Feb 2011 13:38:29 +0000 (13:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Feb 2011 05:14:49 +0000 (21:14 -0800)
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c

index 1f5e342dd883e049c01e507503a473fb8e73611d..aad7ea37d5891bf86890f7d7770c9a1e2e8d4671 100644 (file)
@@ -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;
        }