Subject: CVS commit: src/sys/net80211
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 07/05/2005 19:56:04
Module Name:	src
Committed By:	dyoung
Date:		Tue Jul  5 19:56:04 UTC 2005

Modified Files:
	src/sys/net80211: ieee80211_node.c

Log Message:
In ieee80211_refine_node_for_beacon, do not decrease the reference
count on the node that is passed in, because it belongs to the
driver.  Also, do not increase the reference count on the refined
node, because ieee80211_refine_node_for_beacon's caller (ieee80211_input)
will never decrease the reference count.

As a general rule, reference counts are used for driver code to
assert ownership of ieee80211_nodes that are shared by the driver
and net80211 layer.


To generate a diff of this commit:
cvs rdiff -r1.40 -r1.41 src/sys/net80211/ieee80211_node.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.