From: Dan Carpenter Date: Tue, 31 Mar 2015 08:58:55 +0000 (+0300) Subject: Staging: rtl8192u: use correct array for debug output X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4151700bbf661d0f73c1beffb35b2039f5306fd;p=pandora-kernel.git Staging: rtl8192u: use correct array for debug output This is supposed to be ->rates_ex[] instead of ->rates[]. I found this because static checkers complain than ->rates is too small so we're reading beyond the end of the array. It has 12 elements instead of 15. This bug was apparently copy and pasted from ipw2x00. I fixed it before in that driver 428e3cf5f98c ('ipw2x00: printing the wrong array in debug code') Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed