projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb87f02
)
iwlwifi: mvm: consider P2p device type for firmware dump triggers
author
Emmanuel Grumbach
<
[email protected]
>
Mon, 11 Jul 2016 06:25:45 +0000
(09:25 +0300)
committer
Luca Coelho
<
[email protected]
>
Mon, 29 Aug 2016 19:29:04 +0000
(22:29 +0300)
When the user really wanted a dump on P2P Client, he
coudln't get it because we checked vif->type but didn't
take vif->p2p into account. Fix that.
Signed-off-by: Emmanuel Grumbach <
[email protected]
>
Signed-off-by: Luca Coelho <
[email protected]
>
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.h
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.h
b/drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.h
index f7dff7612c9c58e4ffb84f7aaa427245f5c77ad0..e9f1be9da7d41613b7a124111d1af85064625198 100644
(file)
--- a/
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.h
+++ b/
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.h
@@
-105,7
+105,8
@@
iwl_fw_dbg_trigger_vif_match(struct iwl_fw_dbg_trigger_tlv *trig,
{
u32 trig_vif = le32_to_cpu(trig->vif_type);
- return trig_vif == IWL_FW_DBG_CONF_VIF_ANY || vif->type == trig_vif;
+ return trig_vif == IWL_FW_DBG_CONF_VIF_ANY ||
+ ieee80211_vif_type_p2p(vif) == trig_vif;
}
static inline bool