summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-07-20 16:24:38 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-07-20 16:24:38 +0000
commitd6cec5b837009fb7a719c8a24fcf803d9a615ca2 (patch)
tree295a68683952957a312ef2730b41624b160da52a
parentd5f2448bc8afcd38df1c801e40536f6ddb80c285 (diff)
Make the iwn(4) LED flash 10 times slower in monitor mode.
Makes running monitor mode over extended periods of time much less annoying. ok benno@
-rw-r--r--sys/dev/pci/if_iwn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c
index b67304de00b..9cf50851705 100644
--- a/sys/dev/pci/if_iwn.c
+++ b/sys/dev/pci/if_iwn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwn.c,v 1.168 2016/07/20 10:26:42 stsp Exp $ */
+/* $OpenBSD: if_iwn.c,v 1.169 2016/07/20 16:24:37 stsp Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -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) {