summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_node.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2005-10-07 23:30:03 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2005-10-07 23:30:03 +0000
commitd0920f240b0465d53fbdf8d8db7d9086c76b3021 (patch)
tree5ab6e44ea5e00c30684f815901e06d402a01abce /sys/net80211/ieee80211_node.c
parentc66e66f5a6b65306beb3b0da500e5be0ef276bf1 (diff)
minor knf
Diffstat (limited to 'sys/net80211/ieee80211_node.c')
-rw-r--r--sys/net80211/ieee80211_node.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c
index 2da1f8ced51..7dcaef0fffc 100644
--- a/sys/net80211/ieee80211_node.c
+++ b/sys/net80211/ieee80211_node.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_node.c,v 1.11 2005/09/13 12:11:03 reyk Exp $ */
+/* $OpenBSD: ieee80211_node.c,v 1.12 2005/10/07 23:30:02 reyk Exp $ */
/* $NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $ */
/*-
@@ -861,7 +861,8 @@ ieee80211_clean_nodes(struct ieee80211com *ic)
u_int gen = ic->ic_scangen++; /* NB: ok 'cuz single-threaded*/
IEEE80211_NODE_LOCK(ic);
- for (ni = RB_MIN(ieee80211_tree, &ic->ic_tree); ni != NULL; ni = next_ni) {
+ for (ni = RB_MIN(ieee80211_tree, &ic->ic_tree);
+ ni != NULL; ni = next_ni) {
next_ni = RB_NEXT(ieee80211_tree, &ic->ic_tree, ni);
if (ic->ic_nnodes <= ic->ic_max_nnodes)
break;