Subject: CVS commit: src/sys/net80211
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 10/04/2004 07:17:41
Module Name:	src
Committed By:	dyoung
Date:		Mon Oct  4 07:17:41 UTC 2004

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

Log Message:
Bug fix: in ieee80211_find_txnode, we used to call ieee80211_ref_node(ni)
if ni == NULL and the operating mode was not "ad hoc" or "ad hoc
demo."  That crashed the kernel.  Now, if the operating mode is
not "ad hoc (demo)," and ni == NULL, return NULL right away.

Also, if ieee80211_dup_bss returns NULL, return NULL right away.
This doesn't fix a bug, but it makes clear how this works.


To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 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.