]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixed bug in AT driver: don't receive from HARDWARE, but use ANY.
authorJorrit Herder <jnherder@minix3.org>
Wed, 29 Jun 2005 10:27:23 +0000 (10:27 +0000)
committerJorrit Herder <jnherder@minix3.org>
Wed, 29 Jun 2005 10:27:23 +0000 (10:27 +0000)
Timeouts are sent by the CLOCK.

drivers/at_wini/at_wini.c

index ad65adabe28efff33f60881b78d7549668b397a1..957c1ad3d9ce8d672385c7cd5c774ae1ee6e7bcf 100644 (file)
@@ -825,7 +825,7 @@ PRIVATE void w_intr_wait()
   if (w_wn->irq != NO_IRQ) {
        /* Wait for an interrupt that sets w_status to "not busy". */
        while (w_status & (STATUS_ADMBSY|STATUS_BSY)) {
-               receive(HARDWARE, &m);          /* expect HARD_INT message */
+               receive(ANY, &m);               /* expect HARD_INT message */
                if (m.m_type == SYN_ALARM) {    /* but check for timeout */
                    w_timeout();                /* a.o. set w_status */
                } else if (m.m_type == HARD_INT) {