> Date: Mon, 19 Jun 2017 13:02:58 +0200
> From: Stefan Sperling <[email protected]>
> 
> On Mon, Jun 19, 2017 at 11:57:36AM +0200, Mark Kettenis wrote:
> > > @@ -7450,7 +7444,7 @@ iwm_init_task(void *arg1)
> > >   }
> > >   s = splnet();
> > >  
> > > - if (sc->sc_flags & IWM_FLAG_HW_INITED)
> > > + if (sc->sc_flags & IFF_RUNNING)
> > >           iwm_stop(ifp, 0);
> > 
> > This looks wrong to me.
> 
> Why?

Because IFF_RUNNING is a flag for ifp->if_flags, not sc->sc_flags.

Reply via email to