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 iwm_set_channel is not used.



details:   https://anonhg.NetBSD.org/src-all/rev/f0e711ea3e0b
branches:  trunk
changeset: 370931:f0e711ea3e0b
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Sep 03 22:49:02 2020 +1000

description:
iwm_set_channel is not used.

diffstat:

 sys/dev/pci/if_iwm.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r ec94e6ef10f9 -r f0e711ea3e0b sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Thu Sep 03 22:45:46 2020 +1000
+++ b/sys/dev/pci/if_iwm.c      Thu Sep 03 22:49:02 2020 +1000
@@ -8585,6 +8585,7 @@
 static void
 iwm_set_channel(struct ieee80211com *ic)
 {
+#if 0
        struct iwm_softc *sc = ic->ic_softc;
        struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
        int error;
@@ -8600,6 +8601,7 @@
                device_printf(sc->sc_dev,
                    "%s: error %d settting channel\n", __func__, error);
        }
+#endif
 }
 
 /*



Home | Main Index | Thread Index | Old Index