diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2015-10-02 18:13:10 +0300 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-11-26 16:38:52 +0200 |
commit | eb3908d3718455e9fcb0d52b391a2851900d7e27 (patch) | |
tree | 0338a286e41eba6c6faf91dff979978252d0800d /drivers/net/wireless/intel/iwlwifi/mvm/utils.c | |
parent | 1a616dd2f17161b296aab46ee5a464ae3bf734ce (diff) |
iwlwifi: mvm: flush all used TX queues before suspending
There is a potential race condition when entering suspend with d0i3 in
PCIe. If there is a frame queued just before we suspend, it won't
complete and we will never clear the queue stuck timer. To solve
this, call TX_PATH_FLUSH to flush all queues (except the command
queue) as part of the d0i3 entry process. Add a new function that
returns all the flushable queues.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
0 files changed, 0 insertions, 0 deletions