diff options
author | Luca Coelho <[email protected]> | 2021-02-10 17:23:52 +0200 |
---|---|---|
committer | Luca Coelho <[email protected]> | 2021-02-11 01:57:39 +0200 |
commit | ff11a8ee2d2d0f78514ac9b42fb50c525ca695c7 (patch) | |
tree | cdf20af524c8c96238a39b49e465611b6d389204 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 25df65ae8a9202c1e6155162a66f967aeae1b4aa (diff) |
iwlwifi: pnvm: increment the pointer before checking the TLV
If the SKU_ID doesn't match, we don't increment the pointer and keep
checking the same TLV over and over again.
We need to increment the pointer in all situtations, namely if the TLV
is not a SKU_ID, if the SKU_ID matched or if the SKU_ID didn't match.
So we can increment the pointer already before checking for these
conditions to solve the problem.
Signed-off-by: Luca Coelho <[email protected]>
Fixes: 6972592850c0 ("iwlwifi: read and parse PNVM file")
Signed-off-by: Luca Coelho <[email protected]>
Link: https://lore.kernel.org/r/iwlwifi.20210210172142.de94d366f3ff.I9a5a54906cf0f4ec8af981d6066bfd771152ffb9@changeid
Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions