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/130a9bac2971
branches: trunk
changeset: 363612:130a9bac2971
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 e6b0ea6132f9 -r 130a9bac2971 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 @@
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 @@
* 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