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

Commit d1b275ff authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Luca Coelho
Browse files

iwlwifi: mvm: fix the TX queue hang timeout for MONITOR vif type



The MONITOR type is missing in the interface type switch.
Add it.

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 0b9832b7
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1172,6 +1172,8 @@ unsigned int iwl_mvm_get_wd_timeout(struct iwl_mvm *mvm,
		return le32_to_cpu(txq_timer->p2p_go);
		return le32_to_cpu(txq_timer->p2p_go);
	case NL80211_IFTYPE_P2P_DEVICE:
	case NL80211_IFTYPE_P2P_DEVICE:
		return le32_to_cpu(txq_timer->p2p_device);
		return le32_to_cpu(txq_timer->p2p_device);
	case NL80211_IFTYPE_MONITOR:
		return default_timeout;
	default:
	default:
		WARN_ON(1);
		WARN_ON(1);
		return mvm->cfg->base_params->wd_timeout;
		return mvm->cfg->base_params->wd_timeout;