diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-06-20 06:46:25 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-20 18:10:25 (GMT) |
commit | 882b7b7d11d65e8eccce738f1ce97cdfdb998f9f (patch) | |
tree | 55568933ca51b277ee7e3defa2763c7cb8a29454 /arch | |
parent | f18e3c6b67f448ec47b3a5b242789bd3d5644879 (diff) | |
download | linux-882b7b7d11d65e8eccce738f1ce97cdfdb998f9f.tar.xz |
iwlwifi: remove log_event debugfs file debugging is disabled
When debugging is disabled, the event log functions aren't
functional in the way that the debugfs file expects. This
leads to the debugfs access crashing. Since the event log
functions aren't functional then, remove the debugfs file
when CONFIG_IWLWIFI_DEBUG is not set.
Cc: stable@kernel.org
Reported-by: Lekensteyn <lekensteyn@gmail.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions