aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zd1211rw
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2015-05-13 07:34:07 -0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-05-28 06:27:51 -0400
commitfc8a350d0b8df744fd6d3c55907b3886979d2638 (patch)
treec862522f942b54f96f649fb764a1fce6c95d0db7 /drivers/net/wireless/zd1211rw
parent292208914d8ca5a41cf68c2f1d2810a2ea2044e9 (diff)
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>
Diffstat (limited to 'drivers/net/wireless/zd1211rw')
0 files changed, 0 insertions, 0 deletions