commit | af303252bffa8d0622e077dc9cb246695b47ad07 | [log] [tgz] |
---|---|---|
author | Sara Sharon <sara.sharon@intel.com> | Thu Jun 21 14:24:45 2018 +0300 |
committer | Luca Coelho <luciano.coelho@intel.com> | Sat Oct 06 10:25:54 2018 +0300 |
tree | 3c4671f165a0927804395f51e57b2273ca6e2ae8 | |
parent | 5bea4304eea790766dd45cdd328ee287df2ade75 [diff] |
iwlwifi: dbg: decrement occurrences for all triggers iwl_fw_dbg_collect can be called by any function that already has the error string ready. iwl_fw_dbg_collect_trig, on the other hand, does string formatting. The occurrences decrement is at iwl_fw_dbg_collect_trig, instead of iwl_fw_dbg_collect, which causes it to sometimes be skipped. Move it to the right location. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>