aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwl8k.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-08-17 10:18:07 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 11:35:58 -0400
commitf424afa17899408cbd267a4c4534ca6fc9d8f71c (patch)
treeef68af16e693231b6842767ecd2ad04ba341cd93 /drivers/net/wireless/mwl8k.c
parent3ac64beecd27400d12cc7afb4108eef26c499f6a (diff)
mac80211: remove deprecated API
All but two drivers have now stopped using the two deprecated members radio_enabled and beacon_int, so it's about time to remove them for good. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Kalle Valo <kalle.valo@iki.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r--drivers/net/wireless/mwl8k.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index f84387083e73..c32e93c8c410 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -3031,13 +3031,6 @@ static int mwl8k_config_wt(struct work_struct *wt)
3031 struct mwl8k_priv *priv = hw->priv; 3031 struct mwl8k_priv *priv = hw->priv;
3032 int rc = 0; 3032 int rc = 0;
3033 3033
3034 if (!conf->radio_enabled) {
3035 mwl8k_cmd_802_11_radio_control(hw, MWL8K_RADIO_DISABLE);
3036 priv->current_channel = NULL;
3037 rc = 0;
3038 goto mwl8k_config_exit;
3039 }
3040
3041 if (mwl8k_cmd_802_11_radio_control(hw, MWL8K_RADIO_ENABLE)) { 3034 if (mwl8k_cmd_802_11_radio_control(hw, MWL8K_RADIO_ENABLE)) {
3042 rc = -EINVAL; 3035 rc = -EINVAL;
3043 goto mwl8k_config_exit; 3036 goto mwl8k_config_exit;