]> git.baikalelectronics.ru Git - kernel.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)
commit7574d192898d923426c480b317c5ed63cd1ed243
tree0edb88b4171a896120cce633357ecb62f52a13e3
parent8e226c5136648322555e6458580d4552b441b555
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