]> git.karo-electronics.de Git - mv-sheeva.git/commit
mwl8k: refactor in preparation for APIv2 update
authorBrian Cavagnolo <brian@cozybit.com>
Thu, 17 Mar 2011 18:58:41 +0000 (11:58 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Mar 2011 18:15:12 +0000 (14:15 -0400)
commit73b46320209e9fe0d65aba1b8c21489278047574
tree66c6b49a01259ae2b1b3ad1946a8f2000b4979a6
parentc835b21405fa551cd5af2c7bfe1c3ae129c5f8ef
mwl8k: refactor in preparation for APIv2 update

Specifically, APIv2 will specify a variable number of AMPDU
queues in the MWL8K_CMD_GET_HW_SPEC.  So init the tx queues after
MWL8K_CMD_GET_HW_SPEC for ap fw.

Also, we make it safe to deinit queues that have not been init'd.
This happens if the mwl8k_get_hw_spec_ap routine fails, for
example.

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