iwlagn: use IWL_MAX_TID_COUNT instead of TID_MAX_LOAD_COUNT
authorJohannes Berg <johannes.berg@intel.com>
Fri, 2 Dec 2011 20:25:12 +0000 (12:25 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Thu, 8 Dec 2011 23:55:52 +0000 (15:55 -0800)
commita844855344b035338bfbcb1d2b7ed0aaca241a95
treef7d04babbe0c356b4639dac9fc6eec453cfb00b5
parente0467a30734a8dc2ecddbe892985ce5cfe5bf966
iwlagn: use IWL_MAX_TID_COUNT instead of TID_MAX_LOAD_COUNT

We track the load only on 8 TIDs, previously this
was TID_MAX_LOAD_COUNT. Since IWL_MAX_TID_COUNT
is now 8 as well, use that to make the code more
easily understandable.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
drivers/net/wireless/iwlwifi/iwl-agn-rs.h