Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Use ieee80211_find_rxnode() function instead of ...
details: https://anonhg.NetBSD.org/src/rev/8a946d2c1dd1
branches: trunk
changeset: 569941:8a946d2c1dd1
user: lukem <lukem%NetBSD.org@localhost>
date: Tue Sep 14 00:35:10 2004 +0000
description:
Use ieee80211_find_rxnode() function instead of ieee80211_find_node()
and ieee80211_ref_node(). From Damien Bergamini.
diffstat:
sys/dev/pci/if_ipw.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diffs (32 lines):
diff -r 14d556a8a3d5 -r 8a946d2c1dd1 sys/dev/pci/if_ipw.c
--- a/sys/dev/pci/if_ipw.c Tue Sep 14 00:34:19 2004 +0000
+++ b/sys/dev/pci/if_ipw.c Tue Sep 14 00:35:10 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ipw.c,v 1.6 2004/09/14 00:34:19 lukem Exp $ */
+/* $NetBSD: if_ipw.c,v 1.7 2004/09/14 00:35:10 lukem Exp $ */
/* Id: if_ipw.c,v 1.1.2.7 2004/08/20 11:20:11 damien Exp */
/*-
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ipw.c,v 1.6 2004/09/14 00:34:19 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ipw.c,v 1.7 2004/09/14 00:35:10 lukem Exp $");
/*-
* Intel(R) PRO/Wireless 2100 MiniPCI driver
@@ -456,12 +456,7 @@
wh = mtod(m, struct ieee80211_frame *);
- if (ic->ic_opmode != IEEE80211_M_STA) {
- ni = ieee80211_find_node(ic, wh->i_addr2);
- if (ni == NULL)
- ni = ieee80211_ref_node(ic->ic_bss);
- } else
- ni = ieee80211_ref_node(ic->ic_bss);
+ ni = ieee80211_find_rxnode(ic, wh);
/* Send it up to the upper layer */
ieee80211_input(ifp, m, ni, status->rssi, 0/*rstamp*/);
Home |
Main Index |
Thread Index |
Old Index