From: Zhu, Yi Date: Fri, 5 Dec 2008 15:58:39 +0000 (-0800) Subject: iwlwifi: fix "MAC in deep sleep" error X-Git-Tag: v2.6.29-rc1~581^2~203^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42802d71dd14dd0e435a8da59d817d0c6f8a2866;p=pandora-kernel.git iwlwifi: fix "MAC in deep sleep" error This patch fixes the misue of CSR_GP_CNTRL with CSR_RESET address in polling the CSR_GP_CNTRL_REG_FLAG_MAC_CLOCK_READY bit in iwl4965_apm_reset(). This causes "MAC in deep sleep" error sometimes. The patch also fixes the timeout value and the iwl_poll_bit() return value check. Signed-off-by: Zhu Yi Acked-by: Tomas Winkler Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed