iwlwifi: mvm: Fix command queue number on d0i3 flow
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Thu, 16 Mar 2017 15:26:03 +0000 (17:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:48:20 +0000 (19:48 +0200)
commit6dc9a4b33b355c4bddb994b0abf1982a798ea1f4
treec39ea804bd7963606d9f2ea71cbc4b8785500715
parentc3a1c5ab6ccef80768c445bc583d0b94248cda78
iwlwifi: mvm: Fix command queue number on d0i3 flow

[ Upstream commit c72c37b7f392ad7edc10b6092fa48c632ba6f4ed ]

During d0i3 flow we flush all the queue except from the command queue.
Currently, in this flow the command queue is hard coded to 9.
In DQA the command queue number has changed from 9 to 0.
Fix that.

This fixes a problem in runtime PM resume flow.

Fixes: 097129c9e625 ("iwlwifi: mvm: move cmd queue to be #0 in dqa mode")
Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h