Skip to content

Commit

Permalink
iwl4965: fix return code indicating one interface is supported
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Reinette Chatre authored and David S. Miller committed Feb 1, 2008
1 parent d986bcd commit 75849d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/iwlwifi/iwl4965-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -7448,7 +7448,7 @@ static int iwl4965_mac_add_interface(struct ieee80211_hw *hw,

if (priv->vif) {
IWL_DEBUG_MAC80211("leave - vif != NULL\n");
return 0;
return -EOPNOTSUPP;
}

spin_lock_irqsave(&priv->lock, flags);
Expand Down

0 comments on commit 75849d2

Please sign in to comment.