When I run iwn in monitor mode it flashes its LED like it
was trying to give me epileptic seizures.

With this diff, it's much less irritating.

ok?

Index: if_iwn.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_iwn.c,v
retrieving revision 1.168
diff -u -p -r1.168 if_iwn.c
--- if_iwn.c    20 Jul 2016 10:26:42 -0000      1.168
+++ if_iwn.c    20 Jul 2016 15:05:34 -0000
@@ -4870,7 +4870,7 @@ iwn_run(struct iwn_softc *sc)
 
        if (ic->ic_opmode == IEEE80211_M_MONITOR) {
                /* Link LED blinks while monitoring. */
-               iwn_set_led(sc, IWN_LED_LINK, 5, 5);
+               iwn_set_led(sc, IWN_LED_LINK, 50, 50);
                return 0;
        }
        if ((error = iwn_set_timing(sc, ni)) != 0) {

Reply via email to