if_iwm - Clean up iwm(4) scanning logic a bit.
commit8f3ffab9136e33263d424275ec28f57ad2096437
authorImre Vadász <imre@vdsz.com>
Sun, 15 May 2016 18:47:21 +0000 (15 20:47 +0200)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 24 May 2016 04:33:15 +0000 (23 21:33 -0700)
tree11987bf2eab4ccb7a090c0e60e3a7e283cbac6e8
parentd52983bd375e758dd7e2652a3e19a2f2631688a6
if_iwm - Clean up iwm(4) scanning logic a bit.

* Reset sc_scanband in callers of iwm_mvm_scan_request().

* Make "could not initiate scan" device_printf messages more useful.

Taken-From: OpenBSD (r1.59 of if_iwm.c)
sys/dev/netif/iwm/if_iwm.c
sys/dev/netif/iwm/if_iwm_scan.c