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>
This commit is contained in:

committed by
John W. Linville

parent
3ac64beecd
commit
f424afa178
@@ -3031,13 +3031,6 @@ static int mwl8k_config_wt(struct work_struct *wt)
|
||||
struct mwl8k_priv *priv = hw->priv;
|
||||
int rc = 0;
|
||||
|
||||
if (!conf->radio_enabled) {
|
||||
mwl8k_cmd_802_11_radio_control(hw, MWL8K_RADIO_DISABLE);
|
||||
priv->current_channel = NULL;
|
||||
rc = 0;
|
||||
goto mwl8k_config_exit;
|
||||
}
|
||||
|
||||
if (mwl8k_cmd_802_11_radio_control(hw, MWL8K_RADIO_ENABLE)) {
|
||||
rc = -EINVAL;
|
||||
goto mwl8k_config_exit;
|
||||
|
Reference in New Issue
Block a user