aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2008-01-23 13:15:17 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-31 22:26:40 -0500
commit75849d287ce5d75f3c79f153eaf74759ae95511f (patch)
tree6361a81027babf24c843069d65011a4a681b7364 /drivers/net
parentd986bcd1ca76e033543a97f8a3ff806530b1c805 (diff)
iwl4965: fix return code indicating one interface is supported
This is a fix to patch "iwlwifi: fix iwl_mac_add_interface handler". In that patch the return code was corrected for iwl3945, but not for iwl4965. Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Cc: Tomas Carnecky <tom@dbservice.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-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);