diff options
| author | Mohammed Shafi Shajakhan <[email protected]> | 2016-05-28 11:25:41 +0300 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2016-06-02 17:51:34 +0300 |
| commit | f5e307515b2b9994f5e30fa8311ef38fd71c52a3 (patch) | |
| tree | 4b6c28bcb3bc12c1025a06f49b3f9768179267a3 /tools/perf/scripts/python/bin | |
| parent | 1e56d5127d5c2142fcd26b93f4a9abacbd8f975d (diff) | |
ath10k: fix error while writing 'simulate_fw_crash' debugfs
Fix invalid argument error while writing 'simulate_fw_crash',
though the funcionality is working fine we get an error 'invalid
argument' because 'count' value is not returned properly
(no reason to reduce the count value for removing the newline)
Fixes the below write error:
/sys/kernel/debug/ieee80211/phy0/ath10k# echo hw-restart >
simulate_fw_crash
-bash: echo: write error: Invalid argument
Also move the 'conf_mutex' as it is really not required for
fetching the userspace buffer.
Reported-by: Maharaja Kennadyrajan <[email protected]>
Signed-off-by: Mohammed Shafi Shajakhan <[email protected]>
Signed-off-by: Maharaja Kennadyrajan <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions