iwlwifi: fix TX tracer
authorJohannes Berg <johannes.berg@intel.com>
Fri, 6 Aug 2010 14:00:48 +0000 (16:00 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 6 Aug 2010 17:53:58 +0000 (13:53 -0400)
commite95b743536937a72e1560c85696b425c5d1a1c18
treeaf92b1b6e04d7aef3696c56cd8e41ac8330bcc71
parent8f1d2d2be73a98c21e68fe2a26f633892d4abdd1
iwlwifi: fix TX tracer

The TX tracing code copies with the wrong length,
which will typically copy too little data. Fix
this by using the correct length variable.

Cc: stable@kernel.org [2.6.32+]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-devtrace.h