iwlwifi: pcie: apply no-reclaim logic only to group 0
authorJohannes Berg <johannes.berg@intel.com>
Mon, 6 Mar 2017 14:49:00 +0000 (15:49 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 25 Apr 2017 20:07:31 +0000 (23:07 +0300)
commitd8a130b02d0caa9a8f0c14db11d84320ffc62c57
treebad65d37ceaf9753d81308b34d9b74a022c75609
parentf99a6abe59e096cc2c753e667c19f22022e3bef4
iwlwifi: pcie: apply no-reclaim logic only to group 0

When applying no-reclaim logic to commands other than the group
zero for legacy commands, commands such as 0x1c (TX_CMD in group
0) can't be used in any other group. Fix that by applying this
logic only for group 0 - it's not and should never be needed for
any other groups.

Reported-by: Sharon Dvir <sharon.dvir@intel.com>
Reported-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/rx.c