linux/drivers/net/wireless/iwlwifi/mvm
Johannes Berg 3d4060d581 iwlwifi: mvm: fix quota update avoidance
When not updating the quota, the new command shouldn't be stored
as otherwise slowly drifting quota would never update the firmware.
Fix this by storing the command only when it was also sent.

Since the error message also only makes sense when attempting to
send the command, just short-circuit the function when there's no
need to send the command.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2014-09-14 22:02:23 +03:00
..
binding.c iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
coex_legacy.c iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
coex.c iwlwifi: define the non shared antenna per hardware 2014-09-14 12:56:39 +03:00
constants.h iwlwifi: mvm: don't update quota in firmware too often 2014-09-14 12:56:40 +03:00
d3.c iwlwifi: mvm: correct firmware disassoc command sequence 2014-09-03 22:49:09 +03:00
debugfs-vif.c Merge remote-tracking branch 'iwlwifi-fixes/master' into NEXT 2014-09-14 12:54:42 +03:00
debugfs.c iwlwifi: mvm: update d0i3 debugfs 2014-09-14 12:59:47 +03:00
debugfs.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-coex.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-d3.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-mac.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
fw-api-power.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-rs.h iwlwifi: mvm: add lq_cmd/tx_resp reduced_tpc field 2014-04-09 19:29:36 +03:00
fw-api-scan.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-sta.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-tx.h iwlwifi: mvm: remove unused flags from TX command 2014-07-06 11:16:16 +03:00
fw-api.h iwlwifi: mvm: use the firmware to get the temperature during CT kill 2014-09-14 13:06:40 +03:00
fw.c iwlwifi: mvm: don't update quota in firmware too often 2014-09-14 12:56:40 +03:00
led.c iwlwifi: mvm: don't fail completely if led mode is not supported 2014-03-16 08:59:05 +02:00
mac80211.c iwlwifi: mvm: allow to collect debug data when restart is disabled 2014-09-14 22:01:51 +03:00
mac-ctxt.c Merge remote-tracking branch 'iwlwifi-fixes/master' into NEXT 2014-09-14 12:54:42 +03:00
Makefile iwlwifi: mvm: BT Coex - prepare towards new API 2014-07-07 21:34:05 +03:00
mvm.h iwlwifi: mvm: allow to collect debug data when restart is disabled 2014-09-14 22:01:51 +03:00
nvm.c iwlwifi: make hw rev checking more readable 2014-09-14 12:56:39 +03:00
offloading.c iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
ops.c iwlwifi: mvm: allow to collect debug data when restart is disabled 2014-09-14 22:01:51 +03:00
phy-ctxt.c iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
power.c Merge remote-tracking branch 'iwlwifi-fixes/master' into NEXT 2014-09-14 12:54:42 +03:00
quota.c iwlwifi: mvm: fix quota update avoidance 2014-09-14 22:02:23 +03:00
rs.c iwlwifi: mvm: rs: don't zero tx stats after idle 2014-09-14 12:56:38 +03:00
rs.h iwlwifi: mvm: rs: don't zero tx stats after idle 2014-09-14 12:56:38 +03:00
rx.c Merge remote-tracking branch 'iwlwifi-fixes/master' into NEXT 2014-09-14 12:54:42 +03:00
scan.c iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
sf.c iwlwifi: mvm: allow preventing dummy notifications 2014-09-14 12:56:37 +03:00
sta.c iwlwifi: mvm: disable aggregation queues in station DB in FW 2014-09-14 12:56:38 +03:00
sta.h iwlwifi: mvm: clean up AUX station handling 2014-09-03 22:49:13 +03:00
testmode.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
time-event.c iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
time-event.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
tt.c iwlwifi: mvm: use the firmware to get the temperature during CT kill 2014-09-14 13:06:40 +03:00
tx.c iwlwifi: define the non shared antenna per hardware 2014-09-14 12:56:39 +03:00
utils.c iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00