Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src-draft/trunk]: src/sys/dev/pci Fix some fallout from copy pasta of iwn fu...
details: https://anonhg.NetBSD.org/src-all/rev/577033ffdd2f
branches: trunk
changeset: 940446:577033ffdd2f
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Thu Sep 03 22:53:40 2020 +1000
description:
Fix some fallout from copy pasta of iwn functions.
diffstat:
sys/dev/pci/if_iwm.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diffs (25 lines):
diff -r 830b946e7798 -r 577033ffdd2f sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Thu Sep 03 22:49:02 2020 +1000
+++ b/sys/dev/pci/if_iwm.c Thu Sep 03 22:53:40 2020 +1000
@@ -8549,9 +8549,6 @@
IEEE80211_LOCK(ic);
ic->ic_flags |= IEEE80211_F_SCAN;
IEEE80211_UNLOCK(ic);
-
- /* make the link LED blink while we're scanning */
- iwm_set_led(sc, IWM_LED_LINK, 20, 2);
}
/*
@@ -8572,11 +8569,6 @@
IEEE80211_LOCK(ic);
ieee80211_cancel_scan(vap);
IEEE80211_UNLOCK(ic);
-
- if (vap->iv_state == IEEE80211_S_RUN) {
- /* Set link LED to ON status if we are associated */
- iwm_set_led(sc, IWM_LED_LINK, 0, 1);
- }
}
/*
Home |
Main Index |
Thread Index |
Old Index