Merge branch 'misc.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git] / drivers / net / ethernet / chelsio / cxgb3 / sge.c
index e21a2e6..c3afec1 100644 (file)
@@ -3301,6 +3301,9 @@ void t3_sge_stop(struct adapter *adap)
 
        t3_sge_stop_dma(adap);
 
+       /* workqueues aren't initialized otherwise */
+       if (!(adap->flags & FULL_INIT_DONE))
+               return;
        for (i = 0; i < SGE_QSETS; ++i) {
                struct sge_qset *qs = &adap->sge.qs[i];