M port/devpipe.c => port/devpipe.c +2 -0
@@ 307,6 307,8 @@ pipestclose(Queue *q)
* send a hangup
*/
q = q->other;
+ if(q->next == 0)
+ return;
bp = allocb(0);
bp->type = M_HANGUP;
PUTNEXT(q, bp);
M power/devhotrod.c => power/devhotrod.c +2 -0
@@ 182,6 182,7 @@ hotrodopen(Chan *c, int omode)
delay(100);
print("reset\n");
+#ifdef asdf
/*
* Issue test
*/
@@ 192,6 193,7 @@ hotrodopen(Chan *c, int omode)
hotsend(hp, &((User*)(u->p->upage->pa|KZERO))->khot);
delay(100);
print("tested\n");
+#endif
}
c->mode = openmode(omode);
c->flag |= COPEN;