]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Dec 2014 23:57:31 +0000 (15:57 -0800)
commit85ebf941723c4f32d78fe921bce10b772ce3dd47
treec35e4a8a86902c9e05e4674987d41c897d60988a
parent38183f10bd3894811248340efac196d3d77c0f64
iwlwifi: pcie: fix prph dump length

commit 87dd634ae72bb8f6d0dd12f1cbbc67c7da6dba3b upstream.

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.

Fixes: 67c65f2cf710 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/iwlwifi/pcie/trans.c