summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/9/pc/etheriwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/9/pc/etheriwl.c b/sys/src/9/pc/etheriwl.c
index 909558b54..f003b5da7 100644
--- a/sys/src/9/pc/etheriwl.c
+++ b/sys/src/9/pc/etheriwl.c
@@ -3502,6 +3502,7 @@ flushq(Ctlr *ctlr, uint qid)
qunlock(q);
if(ctlr->broken)
return "flushq: broken";
+ ctlr->broken = 1;
return "flushq: timeout";
}
@@ -4296,6 +4297,7 @@ iwlshutdown(Ether *edev)
if(ctlr->power)
poweroff(ctlr);
ctlr->broken = 0;
+ pcidisable(ctlr->pdev);
}
static Ctlr *iwlhead, *iwltail;