iwlwifi: mvm: let iwl_mvm_update_quotas disregard a disabled vif
authorLuciano Coelho <luciano.coelho@intel.com>
Tue, 13 May 2014 19:28:35 +0000 (22:28 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 7 Jul 2014 18:41:13 +0000 (21:41 +0300)
commit63cbe180f8bfcf355516b09849c71fed19e035b3
tree65de9413cb9aa84b27ba9b51e1038f20c2e1499d
parentca55eb47822560e56b126eeb05b3cd0b8415acfd
iwlwifi: mvm: let iwl_mvm_update_quotas disregard a disabled vif

In some cases (e.g. when we're doing a channel switch), we may need to
disable the quota of a vif temporarily.  In order to do so, add an
argument to the iwl_mvm_update_quotas() function to tell if the passed
vif is a new one or if it should be disregarded.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/quota.c
drivers/net/wireless/iwlwifi/mvm/utils.c
This page took 0.026705 seconds and 5 git commands to generate.