CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/11/19 06:05:19
Modified files:
sys/dev/pci : if_iwm.c if_iwx.c
Log message:
Fix monitor mode on iwm(4) and iwx(4).
Set sc->ns_nstate when bypassing the driver's newstate handler while
bringing the interface down.
Otherwise, if the interface was already running, the INIT->RUN transition
which kicks off monitor mode will appear as a RUN->RUN transition to the
driver's newstate handler, and the handler will do nothing.
Monitor mode did not work as a result.