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/0eea68c9f657
branches:  trunk
changeset: 371121:0eea68c9f657
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 ec254fb193e3 -r 0eea68c9f657 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