Subject: CVS commit: src/sys/net80211
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 11/20/2005 10:16:51
Module Name:	src
Committed By:	dyoung
Date:		Sun Nov 20 10:16:51 UTC 2005

Modified Files:
	src/sys/net80211: _ieee80211.h

Log Message:
Set the "special" struct ieee80211_channel pointer, IEEE80211_CHAN_ANYC,
to 0x1 instead of 0xffff, so the kernel will trap accidental
dereferences.  I don't set IEEE80211_CHAN_ANYC to NULL because it
may have a distinct meaning in net80211.  Thanks to Steve Woodford
for pointing out that 0xffff may be a valid kernel memory address
on x86.


To generate a diff of this commit:
cvs rdiff -r1.1.1.2 -r1.2 src/sys/net80211/_ieee80211.h

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