OSDN Git Service

iwlwifi: pcie: stop the firmware when we restart it
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 12 Feb 2014 06:51:54 +0000 (08:51 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 20 Feb 2014 17:19:14 +0000 (19:19 +0200)
commitcfadc3ffccd5b75b4cd6babbfcd2271d37a82e90
tree8e02a3bfff4b8a5bb0f78f73476b44bc06bd3fc2
parent1270c416e1ba726b4a1d15167babfe5f2c0b59e6
iwlwifi: pcie: stop the firmware when we restart it

In case the firmware didn't assert but we want to restart
it, e.g. we didn't get the reply for a host command, or the
Tx queues are stuck, we should stop the firmware by
provoking an interrupt. This allows to better debug the
firmware in these bad scenarios.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c