iwlwifi: expand error lookup and align output
authorJay Sternberg <jay.e.sternberg@intel.com>
Tue, 14 Oct 2008 19:32:42 +0000 (12:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:26 +0000 (19:00 -0400)
commit56e1261596334e60210fb8ecd9eb6a3db53aba94
treeedf7b73ac17bdaf892f2a74fb08954c9ffde612e
parent4e062f99af771173b601742b0c1c98eb4d52ea08
iwlwifi: expand error lookup and align output

change desc_lookup from hard coded switch to a simple lookup table and expand
list to include all errors.  Also corrected output using this string so info
is aligned and easier to read when debugging issues.

Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c