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?

The idea is not to call iwm_stop() if we're resuming.

Reply via email to