From: Richard A. Griffiths Date: Thu, 28 Jun 2012 20:14:11 +0000 (-0700) Subject: iwlwifi: disallow log_event access if interface down X-Git-Tag: v3.6-rc1~125^2~57^2~207^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ff1bd35f5aece42879b04cbfe6b4040cf50a697;p=pandora-kernel.git iwlwifi: disallow log_event access if interface down 'echo 1 > log_event' generates the bogus "MAC is in deep sleep" or "Timeout waiting for hardware access" log messages when the interface is down, we should just disallow accessing the device through debugfs when it is down. Signed-off-by: Richard A. Griffiths Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg --- Reading git-diff-tree failed