]> rtime.felk.cvut.cz Git - linux-imx.git/commit
iwlwifi: protect SRAM debugfs
authorJohannes Berg <johannes.berg@intel.com>
Tue, 21 Aug 2012 16:57:11 +0000 (18:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 21 Aug 2012 19:01:45 +0000 (15:01 -0400)
commit4fc79db178f0a0ede479b4713e00df2d106028b3
tree2dd1358575382dc449e488e3dc7200f2c821b7cf
parent94543a8d4fb302817014981489f15cb3b92ec3c2
iwlwifi: protect SRAM debugfs

If the device is not started, we can't read its
SRAM and attempting to do so will cause issues.
Protect the debugfs read.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/dvm/debugfs.c