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/4ce9ebc0db62
branches:  trunk
changeset: 363887:4ce9ebc0db62
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 cc8ea482ac77 -r 4ce9ebc0db62 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 @@
                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