From: Emmanuel Grumbach Date: Thu, 23 Oct 2014 05:53:21 +0000 (+0300) Subject: iwlwifi: pcie: fix polling in various places X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~30^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f2ac8fb31896c9fb70dbd2a2e6642b79996fc13;p=pandora-kernel.git iwlwifi: pcie: fix polling in various places iwl_poll_bit may return a strictly positive value when the poll doesn't match on the first try. This was caught when WoWLAN started failing upon resume even if the poll_bit actually succeeded. Also change a wrong print. If we reach the end of iwl_pcie_prepare_card_hw, it means that we couldn't get the devices. Reviewed-by: Johannes Berg Reviewed-by: Luciano Coelho Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed