FreeBSD/sys/dev/wl/if_wl.c
/*
 * wlwatchdog():
 *
 * Called if the timer set in wlstart expires before an interrupt is received
 * from the wavelan.   It seems to lose interrupts sometimes.
 * The watchdog routine gets called if the transmitter failed to interrupt
 *
 * input	: which board is timing out
 * output	: board reset 
 *
 */
Called if the timer set in wlstart expires before an interrupt is received
from the wavelan.   It seems to lose interrupts sometimes.
The watchdog routine gets called if the transmitter failed to interrupt

input        : which board is timing out
output       : board reset
Called if the timer set in wlstart expires before an interrupt is received from the wavelan . It seems to lose interrupts sometimes . The watchdog routine gets called if the transmitter failed to interrupt input : which board is timing out output : board reset
static void
wlwatchdog(void *vsc)
{
    struct wl_softc *sc = vsc;
    log(LOG_ERR, "%s: wavelan device timeout on xmit\n", sc->ifp->if_xname);
    if_inc_counter(sc->ifp, IFCOUNTER_OERRORS, 1);
    wlinit_locked(sc);
}
static void wlwatchdog ( void * vsc ) { struct wl_softc * sc = vsc ; log ( LOG_ERR , " \n " , sc -> ifp -> if_xname ) ; if_inc_counter ( sc -> ifp , IFCOUNTER_OERRORS , 1 ) ; wlinit_locked ( sc ) ; }
wlwatchdog():
 Called if the timer set in wlstart expires before an interrupt is received
 from the wavelan.
wlwatchdog () : Called if the timer set in wlstart expires before an interrupt is received from the wavelan .