iwlwifi: mvm: check ARRAY_SIZE(mvm->fw_id_to_mac_id) = IWL_MVM_STATION_COUNT
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 14 Jan 2014 06:45:26 +0000 (08:45 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:33 +0000 (22:23 +0200)
commitc4d83271f47f71c9d46793cd224a2223fc36f526
treeee2288514667438b7b8c5e39165e6a2d61c842fe
parentf327b04c4240cc6dbce698bea8f8e14db7fc3a8a
iwlwifi: mvm: check ARRAY_SIZE(mvm->fw_id_to_mac_id) = IWL_MVM_STATION_COUNT

Since we use IWL_MVM_STATION_COUNT all over the driver, we
need to make sure that it is the right constant to look at.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/ops.c