diff options
author | Prasun Maiti <[email protected]> | 2016-06-30 14:01:23 +0530 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2016-07-08 16:46:43 +0300 |
commit | c18b104dd2495da60ec92f40e14559591644cc3a (patch) | |
tree | 56b98099f8e1064144d1249f9c8b4c7307447b0a /tools/perf/scripts/python/check-perf-trace.py | |
parent | dba8fbc67ecd193590a72e960e9f5a6578b8bae6 (diff) |
mwifiex: Fix endianness for event TLV type TLV_BTCOEX_WL_SCANTIME
The two members min_scan_time and max_scan_time of structure
"mwifiex_ie_types_btcoex_scan_time" are of two bytes each. The values
are assigned directtly from firmware without endian conversion handling.
So, wrong datas will get saved in big-endian systems.
This patch converts the values into cpu's byte order before assigning them
into the local members.
Signed-off-by: Prasun Maiti <[email protected]>
Acked-by: Amitkumar Karwar <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions