Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 10/14/2003 23:13:44
Module Name:	src
Committed By:	dyoung
Date:		Tue Oct 14 23:13:44 UTC 2003

Modified Files:
	src/sys/dev/ic: ath.c
	src/sys/net80211: ieee80211.c

Log Message:
Do not index arrays using enum constants, since enums can be
re-ordered and extended. Instead, use a switch-statement or a
key->value table with appropriate bounds-checking.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 src/sys/dev/ic/ath.c
cvs rdiff -r1.5 -r1.6 src/sys/net80211/ieee80211.c

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