Subject: Re: Inserting wavelan card disrupts USB sound playback?
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: current-users
Date: 10/12/2000 15:41:56
Jonathan Stone <jonathan@DSG.Stanford.EDU> writes:
> >I guess wi_intr should ignore interupts while !RUNNING.
>
> Wonderful! I added a check for sc->sc_enabled == 0 (cf dp8390_intr()),
Probably, (ifp->if_flags & IFF_RUNNING) == 0 is better.
sc->sc_enabled != 0 just means device power is enabled, but
(ifp->if_flags & IFF_RUNNING) != 0 means interface is initialized
properly.
enami.