diff options
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 177d92f0b877..65eefe835024 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c | |||
@@ -2854,6 +2854,12 @@ static int mwl8k_config_wt(struct work_struct *wt) | |||
2854 | struct mwl8k_priv *priv = hw->priv; | 2854 | struct mwl8k_priv *priv = hw->priv; |
2855 | int rc = 0; | 2855 | int rc = 0; |
2856 | 2856 | ||
2857 | if (conf->flags & IEEE80211_CONF_IDLE) { | ||
2858 | mwl8k_cmd_802_11_radio_disable(hw); | ||
2859 | priv->current_channel = NULL; | ||
2860 | goto mwl8k_config_exit; | ||
2861 | } | ||
2862 | |||
2857 | if (mwl8k_cmd_802_11_radio_enable(hw)) { | 2863 | if (mwl8k_cmd_802_11_radio_enable(hw)) { |
2858 | rc = -EINVAL; | 2864 | rc = -EINVAL; |
2859 | goto mwl8k_config_exit; | 2865 | goto mwl8k_config_exit; |