]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: fix prph dump length
authorLiad Kaufman <liad.kaufman@intel.com>
Mon, 10 Nov 2014 17:25:22 +0000 (19:25 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 11 Nov 2014 05:24:57 +0000 (07:24 +0200)
commite37a06682c1bacf50b5e57b626146c47a6344725
treebae6e34e87d5804fcfa61ca7067f11d367eddd11
parent4c2e7642af3736d709afb37d7f700eb639ce58b9
iwlwifi: pcie: fix prph dump length

The length counting previously done had an error in it, causing
the length down the data dumping function to be shorter than it
should be, causing the end of the data to get truncated off and
lost.

Cc: <stable@vger.kernel.org> [3.17+]
Fixes: 1316e85f4cf3 ("iwlwifi: dump periphery registers to fw-error-dump")
Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/trans.c