]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: print DMA stop timeout error only if it happened
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 7 Mar 2012 17:52:27 +0000 (09:52 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 8 Mar 2012 18:59:51 +0000 (13:59 -0500)
commit8fdfb30ece54012bfb0a2b88d1ff1114bbe728f5
tree6df6bc7572eef23b84e0f502af92aae6b56c9a03
parent9e5b339755c85757b73a674bd0052e5724cadb82
iwlwifi: print DMA stop timeout error only if it happened

iwl_poll_direct_bit() return negative error value on timeout,
positive values do not indicate an error.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c