iwlwifi: pcie: keep the NIC awake when commands are in flight
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 22 Dec 2013 13:09:40 +0000 (15:09 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 31 Dec 2013 17:03:43 +0000 (19:03 +0200)
commitb9439491055a18ee075614139abadfd74c1b887f
tree41845bfb442438e01acb78c3181adbd72a1ce761
parenta4a1247847ca9ae2fd96e0684a74acd551791000
iwlwifi: pcie: keep the NIC awake when commands are in flight

Under very specific circumstances, the firmware might
ignore a host command. This was debugged and we ended up
seeing that the power management hardware was faulty.
In order to workaround this issue, we keep the NIC awake
as long as we have host commands in flight. This will avoid
to put the hardware into buggy condition.

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