[BUGFIX] iwlwifi: mvm: consider P2p device type for firmware dump triggers

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.

type=bugfix
fixes=unknown
bug=not-tracked

Change-Id: Ie5cf5269f16dbd315d4d6a10e98e7957468040c6
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-on: https://git-amr-3.devtools.intel.com/gerrit/44041
Tested-by: ec ger unix iil jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Reviewed-by: Ben Ami, Golan <golan.ben.ami@intel.com>
(cherry picked from commit 5d6dc600431b3ef206518ce8024631db788dcb8b)
Reviewed-on: https://git-amr-3.devtools.intel.com/gerrit/44093
x-iwlwifi-stack-dev: 74461baa1550b01a59f18075523dde112e80777b
2 files changed