Re: iwm(4): Also reset sc_uc.uc_intr flag on 8000 hw. Gets rid of 1s tsleep.

2016-11-01 Thread Stefan Sperling
On Tue, Oct 11, 2016 at 04:50:09PM +0200, Stefan Sperling wrote: > On Tue, Oct 11, 2016 at 04:29:24PM +0200, Imre Vadasz wrote: > > Hi, > > > > The sc->sc_uc.uc_intr flag isn't getting reset to 0 in > > iwm_load_firmware_8000(), so the > > /* wait for the firmware to load */ > > for (w =

Re: iwm(4): Also reset sc_uc.uc_intr flag on 8000 hw. Gets rid of 1s tsleep.

2016-10-11 Thread Stefan Sperling
On Tue, Oct 11, 2016 at 04:29:24PM +0200, Imre Vadasz wrote: > Hi, > > The sc->sc_uc.uc_intr flag isn't getting reset to 0 in > iwm_load_firmware_8000(), so the > /* wait for the firmware to load */ > for (w = 0; !sc->sc_uc.uc_intr && w < 10; w++) { > err =

iwm(4): Also reset sc_uc.uc_intr flag on 8000 hw. Gets rid of 1s tsleep.

2016-10-11 Thread Imre Vadasz
Hi, The sc->sc_uc.uc_intr flag isn't getting reset to 0 in iwm_load_firmware_8000(), so the /* wait for the firmware to load */ for (w = 0; !sc->sc_uc.uc_intr && w < 10; w++) { err = tsleep(>sc_uc, 0, "iwmuc", hz/10); } loop is immediately aborting on