In iwm(4), keep scanning if net80211 asks for a SCAN->SCAN transition
authorstsp <stsp@openbsd.org>
Thu, 7 Dec 2017 14:13:05 +0000 (14:13 +0000)
committerstsp <stsp@openbsd.org>
Thu, 7 Dec 2017 14:13:05 +0000 (14:13 +0000)
commitdeb6acad8ee19757af012937c30a690afb401a51
treef5a56bed40410be9c3b3c310b4152c6c70d19e20
parent6c1bddc001a9e9ebdeded168d1976a2f0eba6d61
In iwm(4), keep scanning if net80211 asks for a SCAN->SCAN transition
and the firmware is no longer busy scanning.

Fixes 'ifconfig iwm0 scan' returning no results after resume far away
from the currently configured AP.

ok phessler@
sys/dev/pci/if_iwm.c