From: Dan Carpenter Date: Wed, 27 Feb 2013 05:12:06 +0000 (+0300) Subject: wlan-ng: clean up prism2sta_inf_chinforesults() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~752 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0cdd2e4a96a253c83e8d7856e39b9807805c6c4;p=pandora-kernel.git wlan-ng: clean up prism2sta_inf_chinforesults() This function is ugly because it hits against the 80 character limit. This patch does several things to clean it up. 1) Introduces "result" instead of inf->info.chinforesult.result[n]. 2) Reverses the ".scanchannels & (1 << i)" so everthing can be pulled in one indent level. 3) Use "chan" instead of "channel". 4) Tweaks the line breaks to the call to pr_debug(). Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed