diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-12-10 17:37:23 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-21 11:31:59 -0500 |
commit | 521d9bce86331d8261213b807a9127f7e2ec046b (patch) | |
tree | 42630bdd7ffba4904dba77103d6a84ed213decfb /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | f8701fe3aec24fcfb0dfa19aab47904611f96daf (diff) |
iwlwifi: fix syslog message for event log dump size
When trigger event log dumping from debugfs, the entire event log
should be dumped and the size should match the number of events being
dump.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 994db4a2e1c4..4c0e47586896 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -1684,7 +1684,7 @@ void iwl3945_dump_nic_event_log(struct iwl_priv *priv, bool full_log) | |||
1684 | } | 1684 | } |
1685 | 1685 | ||
1686 | #ifdef CONFIG_IWLWIFI_DEBUG | 1686 | #ifdef CONFIG_IWLWIFI_DEBUG |
1687 | if (!(iwl_get_debug_level(priv) & IWL_DL_FW_ERRORS)) | 1687 | if (!(iwl_get_debug_level(priv) & IWL_DL_FW_ERRORS) && !full_log) |
1688 | size = (size > DEFAULT_IWL3945_DUMP_EVENT_LOG_ENTRIES) | 1688 | size = (size > DEFAULT_IWL3945_DUMP_EVENT_LOG_ENTRIES) |
1689 | ? DEFAULT_IWL3945_DUMP_EVENT_LOG_ENTRIES : size; | 1689 | ? DEFAULT_IWL3945_DUMP_EVENT_LOG_ENTRIES : size; |
1690 | #else | 1690 | #else |