iwlwifi: dbg: use dump mask for tx command dumping length
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Thu, 7 Feb 2019 07:07:16 +0000 (09:07 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 22 Mar 2019 10:59:41 +0000 (12:59 +0200)
commit8672aad310fcf8f1091f9f6e45299b84c51f3f56
tree5e74794188176256b2e16cf6c557805be9039cc5
parente4fe5d4b10cd8e34d7af750cd0c63a44172d7b72
iwlwifi: dbg: use dump mask for tx command dumping length

Only add the size of the tx command to the dump file size if it is set
in the dump_mask.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c