ath9k: add compile time checking for the size of the channel list
authorFelix Fietkau <nbd@openwrt.org>
Sat, 9 Oct 2010 00:39:30 +0000 (02:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Oct 2010 19:04:21 +0000 (15:04 -0400)
This prevents random memory corruption if the number of channels ever gets
changed without an update to the internal channel array size.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found