mwl8k: use firmware capability field to decide which bands to register
commit06953235f48c696b22c5ed45570680fb070f7277
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 12 Jan 2010 12:49:41 +0000 (12 13:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 19:21:18 +0000 (12 14:21 -0500)
treefe5a8a485682ade88799d4fb8d862fb3f15729df
parent42574ea2274ec0a2a9c58ab01be91b65e60a2291
mwl8k: use firmware capability field to decide which bands to register

Make the decision about whether to register the 2.4 and 5 GHz bands
with mac80211 by looking at the capability field in GET_HW_SPEC (STA
firmware only for now).  This enables 5 GHz STA operation.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c