aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index f9f387fff55c..ac8967bc7c59 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -7448,7 +7448,7 @@ static int iwl4965_mac_add_interface(struct ieee80211_hw *hw,
7448 7448
7449 if (priv->vif) { 7449 if (priv->vif) {
7450 IWL_DEBUG_MAC80211("leave - vif != NULL\n"); 7450 IWL_DEBUG_MAC80211("leave - vif != NULL\n");
7451 return 0; 7451 return -EOPNOTSUPP;
7452 } 7452 }
7453 7453
7454 spin_lock_irqsave(&priv->lock, flags); 7454 spin_lock_irqsave(&priv->lock, flags);