iwlwifi: pcie: fix TVQM queue ID range check
authorJohannes Berg <johannes.berg@intel.com>
Wed, 19 Apr 2017 08:29:06 +0000 (10:29 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 22 Jun 2017 21:13:00 +0000 (00:13 +0300)
commitf8565f3329d62dab724b43db3f6ed60b608333fa
tree3674aacb7d8ef381d20ad9b45d9c65a586f49f2d
parentaeb8012cdfb5dded160295c92e6bfdb6ae5e8aa1
iwlwifi: pcie: fix TVQM queue ID range check

The queue ID should never be 512 either, so correct the check
to be >= instead of just >.

Fixes: 310181ec34e2 ("iwlwifi: move to TVQM mode")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c