if_iwm: Always stop LED blinking when scanning is finished
authorImre Vadász <imre@vdsz.com>
Sun, 3 Jan 2016 15:57:02 +0000 (16:57 +0100)
committerImre Vadász <imre@vdsz.com>
Tue, 5 Jan 2016 17:13:52 +0000 (18:13 +0100)
commite08851e46ac815b6b44f912fb5b8cc03da46269f
treea4f5352b1cdc13bdf5c0a80b78bf17fb22fe7be3
parent28c33a164ce41713692e9118b3554f16c4264469
if_iwm: Always stop LED blinking when scanning is finished

When state is still IEEE80211_S_RUN after scanning is done, enable the LED.
This matches the behaviour of if_iwn(4).
sys/dev/netif/iwm/if_iwm.c
sys/dev/netif/iwm/if_iwm_led.c