diff options
author | Djalal Harouni <[email protected]> | 2013-08-24 14:35:53 +0100 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2013-10-02 18:00:42 +0200 |
commit | 0e9d84ea89a588a6ed7b4e9809cd4a8af0bb6a88 (patch) | |
tree | a93dd18de32e6ddeb6e56467cd590d852e2ca6e6 /tools/perf/util/trace-event-scripting.c | |
parent | 6a524f487c61a08ec7552fcf004e8b3fcf6badf0 (diff) |
iwlwifi: mvm: make debugfs write() operations write up to count bytes
Some debugfs write() operations of the MVM Firmware will ignore the
count argument, and will copy more bytes than what was specified.
Fix this by getting the right count of bytes.
This will honor restrictions put on the number of bytes to write and
avoid strcmp() calls on garbage data.
Signed-off-by: Djalal Harouni <[email protected]>
Reviewed-by: Emmanuel Grumbach <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions