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/66e3f8f46714
branches: trunk
changeset: 377980:66e3f8f46714
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 0a24b9fa40e6 -r 66e3f8f46714 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