diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-02-27 09:52:56 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-11 16:10:09 -0700 |
commit | 8234281aea5f98e5216a01d4955ce44025e95212 (patch) | |
tree | 59c272acf46abd242dae6a40a9827072532a0d12 /drivers/net/xen-netfront.c | |
parent | 3ece09975ce21d9aa9a64d34d7f1f6ea179e8b4d (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>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions