]> git.openfabrics.org - ~emulex/infiniband.git/commit
mwl8k: choose proper firmware image as directed by user
authorBrian Cavagnolo <brian@cozybit.com>
Sat, 13 Nov 2010 01:23:50 +0000 (17:23 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Nov 2010 21:37:03 +0000 (16:37 -0500)
commit0863ade8d6bde1d151f75720d999ff27f9fe3533
tree46ce01dce308c20be66f3abbc79d3ae7d96d0b0d
parent3cc7772c0a3cc193fa9873816168bd34d4f16837
mwl8k: choose proper firmware image as directed by user

The mwl8k can operate in AP or STA mode, depending on the
firmware image that is loaded.  By default, STA firmware is
loaded.  Allow the user to override this default mode at
module load time.  This saves an unnecessary firmware reload
for users only interested in AP mode.

Also, the firmware image can be swapped to meet the user's
add_interface request.  For example, suppose the STA
firmware is loaded, no STA interface has been added, and the
user adds an AP interface.  In this case, the AP firmware
will be loaded to meet the request.

Based on contributions from Pradeep Nemavat <pnemavat@marvell.com>,
Yogesh Powar <yogeshp@marvell.com>, and
Lennert Buytenhek <buytenh@wantstofly.org>.

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