b43: Add slot count compiletime assertion
commit2d071ca50e9f20bf0203a7e8dbb1c784934e324d
authorMichael Buesch <mb@bu3sch.de>
Fri, 20 Feb 2009 11:24:52 +0000 (20 12:24 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Feb 2009 19:52:50 +0000 (27 14:52 -0500)
tree02038ba172ffe9e483f7f1839c74c4a926e9f3fe
parent20977d3e685abb8b84c385426c39de1fca0a58ac
b43: Add slot count compiletime assertion

This adds a compiletime assertion for a recently introduced
assumption on the slot counts.
The tx header cache handling code assumes that the TX slot count
can be divided evenly by the number of TX slots per frame.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/dma.c