iwlwifi: mvm: fix quota allocation
authorIlan Peer <ilan.peer@intel.com>
Sun, 19 Jan 2014 09:38:39 +0000 (11:38 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:37 +0000 (22:23 +0200)
commit7b4fe06c25a1a37ba393e791012f3b01c70e674a
tree551f28a11d06e9bc5889f7fb3739f83941645a1b
parent2d675e523740d20fea8b8b76b4163aa18811c288
iwlwifi: mvm: fix quota allocation

Divide the maximal quota between all the data interfaces even in the
case of a single low latency binding without any other non low latency
interfaces, so that afterwards the quota allocation (which considers
the number of data interfaces) will be correct.

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