summaryrefslogtreecommitdiff
path: root/sys/src/9/pc/etheriwl.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-06-08 00:19:33 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-06-08 00:19:33 +0200
commitbe3a5a6dc372870c9c6cb3b039228fab89db07b5 (patch)
tree5db24a811edae74d7f071ec694a3e8ad20c1caf2 /sys/src/9/pc/etheriwl.c
parent9ee3095553844b91e92f69efb44335c850f05c65 (diff)
kernel: remove Block refcounting (thanks erik)
Diffstat (limited to 'sys/src/9/pc/etheriwl.c')
-rw-r--r--sys/src/9/pc/etheriwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/etheriwl.c b/sys/src/9/pc/etheriwl.c
index b82536084..56868b331 100644
--- a/sys/src/9/pc/etheriwl.c
+++ b/sys/src/9/pc/etheriwl.c
@@ -1346,7 +1346,7 @@ postboot(Ctlr *ctlr)
continue;
if((b = ctlr->calib.cmd[i]) == nil)
continue;
- b->ref++; /* dont free on command completion */
+ b = copyblock(b, BLEN(b));
if((err = qcmd(ctlr, 4, 176, nil, 0, b)) != nil){
freeb(b);
return err;