Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 363f0cd6 authored by Soumya Managoli's avatar Soumya Managoli Committed by Gerrit - the friendly Code Review server
Browse files

hal: Fix incorrect wsa count update during platform_init

buf is not reset after each read_line_from_file call.
Hence buf is matching with wsa after first wsa thermal
zone is found. This results in wsa_count being more than 2.

Buffer is reset after each iteration to fix this issue.

Change-Id: I73b1bd350c0a8659e7a42b5ccdb7600935254ae6
parent 872acb95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment