From: Stanislaw Gruszka Date: Mon, 13 Feb 2012 10:23:09 +0000 (+0100) Subject: iwlegacy: always check if got h/w access before write X-Git-Tag: v3.4-rc1~177^2~108^2~39^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e0f32a43ae652eaa5b23dc06852938555cb8da1;p=pandora-kernel.git iwlegacy: always check if got h/w access before write Before we write to the device register always check if _il_grap_nic_access() was successful. Change type return type _il_grap_nic_access() to bool, and add likely()/unlikely() statements. Signed-off-by: Stanislaw Gruszka Signed-off-by: John W. Linville --- Reading git-diff-tree failed