commit | 7001ff00161a467371b49a6f54202c67067fd71a | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Feb 27 09:52:56 2014 +0800 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:19:38 2020 +0200 |
tree | 49bddde31fbc445841064fc2a57325611414d193 | |
parent | 098e5039c8e7a35c465876f5b2ad4376839c9106 [diff] |
iwlwifi: protect SRAM debugfs commit 4fc79db178f0a0ede479b4713e00df2d106028b3 upstream. If the device is not started, we can't read its SRAM and attempting to do so will cause issues. Protect the debugfs read. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> [wujg: Backported to 3.4: adjust context] Signed-off-by: Jianguo Wu <wujianguo@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>