iwlwifi: pcie: fix the use of a wrong define
authorSara Sharon <sara.sharon@intel.com>
Fri, 26 Oct 2018 07:01:39 +0000 (10:01 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 29 Jan 2019 14:10:29 +0000 (16:10 +0200)
commit0899dd34d095a352de244055aa611bbb3208e8cb
treec9b580d9140d19a4d569edde3d4652443fc5068a
parent64e2330580fbbfa7077ef2f608555f07e0bb4956
iwlwifi: pcie: fix the use of a wrong define

The code checks that we haven't exceeded the maximum number of
TBs by comparing to a define of gen1 instead of gen2, fix it.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c