linux-pinenote/drivers/net/wireless/iwlwifi/pcie
Ilan Peer fc8a350d0b iwlwifi: pcie: fix tracking of cmd_in_flight
The cmd_in_flight tracking was introduced to workaround faulty
power management hardware, by having the driver keep the NIC
awake as long as there are commands in flight. However, some of
the code handling this workaround was unconditionally executed,
which resulted with an inconsistent state where the driver assumed
that the NIC was awake although it wasn't.

Fix this by renaming 'cmd_in_flight' to 'cmd_hold_nic_awake' and
handling the NIC requested awake state only for hardwares for
which the workaround is needed.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2015-05-28 13:27:51 +03:00
..
drv.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-04-02 16:16:53 -04:00
internal.h iwlwifi: pcie: fix tracking of cmd_in_flight 2015-05-28 13:27:51 +03:00
rx.c iwlwifi: pcie: add rx packet sequence number to dbg print 2015-03-18 08:41:18 +02:00
trans.c iwlwifi: pcie: fix tracking of cmd_in_flight 2015-05-28 13:27:51 +03:00
tx.c iwlwifi: pcie: fix tracking of cmd_in_flight 2015-05-28 13:27:51 +03:00