From: Johannes Berg Date: Wed, 20 Jun 2012 06:46:25 +0000 (+0200) Subject: iwlwifi: remove log_event debugfs file debugging is disabled X-Git-Tag: v3.5-rc5~17^2~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=882b7b7d11d65e8eccce738f1ce97cdfdb998f9f;p=pandora-kernel.git 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 Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed