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 Derrive node from vap.
details: https://anonhg.NetBSD.org/src-all/rev/0bfc93d402fe
branches: trunk
changeset: 375218:0bfc93d402fe
user: Nathanial Sloss <nat%netbsd.org@localhost>
date: Sun Mar 06 03:22:03 2022 +1100
description:
Derrive node from vap.
diffstat:
sys/dev/pci/if_ipw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 0a554e6ed125 -r 0bfc93d402fe sys/dev/pci/if_ipw.c
--- a/sys/dev/pci/if_ipw.c Sun Mar 06 03:14:09 2022 +1100
+++ b/sys/dev/pci/if_ipw.c Sun Mar 06 03:22:03 2022 +1100
@@ -897,7 +897,7 @@ ipw_newstate(struct ieee80211vap *vap, e
len = IEEE80211_ADDR_LEN;
ipw_read_table2(sc, IPW_INFO_CURRENT_BSSID, macaddr, &len);
- ni = ieee80211_find_node(&ic->ic_scan, macaddr);
+ ni = vap->iv_bss;
if (ni == NULL)
break;
Home |
Main Index |
Thread Index |
Old Index