From: stsp Date: Wed, 20 Jul 2016 16:24:37 +0000 (+0000) Subject: Make the iwn(4) LED flash 10 times slower in monitor mode. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=355f67216d7c8495241c3180e10b3e256604fbb4;p=openbsd 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@ --- 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 @@ -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) {