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 No need for channel hack to end scan with ...
details: https://anonhg.NetBSD.org/src-all/rev/0347ca1d4b6a
branches: trunk
changeset: 377706:0347ca1d4b6a
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Sun May 24 19:01:04 2020 +1000
description:
No need for channel hack to end scan with the new stack.
diffstat:
sys/dev/pci/if_iwn.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 368c60860d26 -r 0347ca1d4b6a sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c Sun May 24 19:00:16 2020 +1000
+++ b/sys/dev/pci/if_iwn.c Sun May 24 19:01:04 2020 +1000
@@ -2507,9 +2507,11 @@ iwn_rx_done(struct ieee80211vap *vap, st
rssi = ops->get_rssi(stat);
+#if 0
/* XXX Added for NetBSD: scans never stop without it */
if (vap->iv_state == IEEE80211_S_SCAN)
iwn_fix_channel(ic, m, stat);
+#endif
if (sc->sc_drvbpf != NULL) {
struct iwn_rx_radiotap_header *tap = &sc->sc_rxtap;
@@ -7132,7 +7134,7 @@ iwn_free_rpool(struct iwn_softc *sc)
* probe responses. Only used during AP detection.
* XXX: Duplicated from if_iwi.c
*/
-static void
+static void __unused
iwn_fix_channel(struct ieee80211com *ic, struct mbuf *m,
struct iwn_rx_stat *stat)
{
Home |
Main Index |
Thread Index |
Old Index