diff options
| author | Emmanuel Grumbach <[email protected]> | 2017-11-15 12:12:30 +0000 |
|---|---|---|
| committer | Luca Coelho <[email protected]> | 2017-11-25 15:03:13 +0000 |
| commit | d1b275ffec459c5ae12b5c7086c84175696e5a9f (patch) | |
| tree | 566edd3c7662aae08726c222d37e0d40a2489b18 /drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |
| parent | iwlwifi: mvm: don't use transmit queue hang detection when it is not possible (diff) | |
| download | kernel-d1b275ffec459c5ae12b5c7086c84175696e5a9f.tar.gz kernel-d1b275ffec459c5ae12b5c7086c84175696e5a9f.zip | |
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: Emmanuel Grumbach <[email protected]>
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c index 19c1d1f76e15..03ffd84786ca 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/utils.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/utils.c @@ -1172,6 +1172,8 @@ unsigned int iwl_mvm_get_wd_timeout(struct iwl_mvm *mvm, return le32_to_cpu(txq_timer->p2p_go); case NL80211_IFTYPE_P2P_DEVICE: return le32_to_cpu(txq_timer->p2p_device); + case NL80211_IFTYPE_MONITOR: + return default_timeout; default: WARN_ON(1); return mvm->cfg->base_params->wd_timeout; |
