From: Johannes Berg Date: Mon, 8 Sep 2014 14:42:54 +0000 (+0200) Subject: iwlwifi: mvm: don't update quota in firmware too often X-Git-Tag: fixes-against-v3.18-rc2~144^2~144^2~51^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2b7875bfb6c69bb708b61c5f745491d240161a1;p=pandora-kernel.git iwlwifi: mvm: don't update quota in firmware too often When updating quota in the firmware, it has to reset quite a bit of internal state, which apparently can have an adverse impact on its operation. Avoid that by only updating the quota command when there are any signification changes, i.e. added/removed bindings or changes in quota that are bigger than 8 TU within a binding. Signed-off-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed