DF-1502 / fix.diff
diff --git a/sys/dev/misc/musycc/musycc.c b/sys/dev/misc/musycc/musycc.c --- a/sys/dev/misc/musycc/musycc.c +++ b/sys/dev/misc/musycc/musycc.c @@ -650,6 +650,7 @@ if (sch == NULL || sch->state != UP) { /* XXX: this should not happen once the driver is done */ kprintf("Xmit packet on uninitialized channel %d\n", ch); + return; } if (sc->mdt[ch] == NULL) return; /* XXX: can this happen ? */ |