]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mwl8k: remove MWL8K_RADIO_* defines
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 16 Jul 2009 10:14:58 +0000 (12:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:38:04 +0000 (11:38 -0400)
commitc46563b714b09d44eec4d1fd8a0f53e79ddaa3aa
tree0edb88b4171a896120cce633357ecb62f52a13e3
parentce9e2e1b8433c8795459a259ee87bc4e424e7c50
mwl8k: remove MWL8K_RADIO_* defines

Instead of passing a flag bitmask to mwl8k_cmd_802_11_radio_control,
pass the 'enable' and 'force' arguments as separate parameters, and
introduce wrappers for the common cases of enabling and disabling
without forcing.

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