Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75849d28 authored by Reinette Chatre's avatar Reinette Chatre Committed by David S. Miller
Browse files

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: default avatarReinette Chatre <reinette.chatre@intel.com>
Cc: Tomas Carnecky <tom@dbservice.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d986bcd1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);