Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=75849d287ce5d75f3c79f153eaf74759ae95511f
Commit:     75849d287ce5d75f3c79f153eaf74759ae95511f
Parent:     d986bcd1ca76e033543a97f8a3ff806530b1c805
Author:     Reinette Chatre <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 23 10:15:17 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Thu Jan 31 19:26:40 2008 -0800

    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 <[EMAIL PROTECTED]>
    Cc: Tomas Carnecky <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/net/wireless/iwlwifi/iwl4965-base.c |    2 +-
 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 f9f387f..ac8967b 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,
 
        if (priv->vif) {
                IWL_DEBUG_MAC80211("leave - vif != NULL\n");
-               return 0;
+               return -EOPNOTSUPP;
        }
 
        spin_lock_irqsave(&priv->lock, flags);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to