mwl8k: add API version checking for AP firmware
authorBrian Cavagnolo <brian@cozybit.com>
Sat, 13 Nov 2010 01:23:51 +0000 (17:23 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Nov 2010 21:37:03 +0000 (16:37 -0500)
commit952a0e963fb02e50f4afbf502f7d468a8fe2b0fa
treee3d170f1e6e251557d8b684ed1e93789336f1c1d
parent0863ade8d6bde1d151f75720d999ff27f9fe3533
mwl8k: add API version checking for AP firmware

The AP firmware specifies an API version in the GET_HW_SPEC
command response.  Currently, the driver only supports AP
firmware for the 8366, and only supports API v1.  In the future,
if higher API version firmwares emerge (possibly for different
chips), different ops can be selected based on the reported API
version.

Signed-off-by: Brian Cavagnolo <brian@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c