iwlwifi: mvm: clarify stop_count, remove transport_stopped
authorJohannes Berg <johannes.berg@intel.com>
Fri, 1 Aug 2014 16:14:45 +0000 (18:14 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 19:49:10 +0000 (22:49 +0300)
commitdf197c00bf1dbdee888aa886e5e93b49b42a268b
treec85f30b8d666d70a78f11a59044e38d1147c1991
parentb2d81db7b3d3e51f6f465cae8d450acf0ca8d2dc
iwlwifi: mvm: clarify stop_count, remove transport_stopped

The queue handling is a bit unclear - we have an array for
stop_count[IWL_MAX_HW_QUEUES] but indices really are the
mac80211 queue numbers. Change the array to be only of the
right size for mac80211 queues (IEEE80211_MAX_QUEUES) and
rename it to be clearer.

While at it, also remove the unused transport queue stop
bitmap in mvm.

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