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 Restore iwm_parent functionality.
details: https://anonhg.NetBSD.org/src-all/rev/e9bc485fe287
branches: trunk
changeset: 364211:e9bc485fe287
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Wed Oct 28 21:34:29 2020 +1100
description:
Restore iwm_parent functionality.
diffstat:
sys/dev/pci/if_iwm.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 802785acb510 -r e9bc485fe287 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Thu Oct 15 14:14:08 2020 +1100
+++ b/sys/dev/pci/if_iwm.c Wed Oct 28 21:34:29 2020 +1100
@@ -8290,13 +8290,13 @@
static void
iwm_parent(struct ieee80211com *ic)
{
-#if 0
+ struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
struct iwm_softc *sc = ic->ic_softc;
bool startall = false;
if (ic->ic_nrunning > 0) {
if ((sc->sc_flags & IWM_FLAG_FW_LOADED) == 0) {
- iwm_init(sc);
+ iwm_init(vap->iv_ifp);
startall = true;
} else {
/* update filters or whatever */
@@ -8307,7 +8307,6 @@
if (startall)
ieee80211_start_all(ic);
-#endif
}
static struct ieee80211vap *
Home |
Main Index |
Thread Index |
Old Index