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

Skip to content
Commit cd033f03 authored by Anji Jonnala's avatar Anji Jonnala Committed by Gerrit - the friendly Code Review server
Browse files

thermal-core: Fix invalid sensor request not accounted correctly



Add NULL check for sensor name before using it in sensor_get_id and
return NULL explicitly when sensor id is not valid in get_sensor of
thermal core.

Change-Id: I4200a5691183aa2d40ef8ed64554f0beb8ce6d0d
Signed-off-by: default avatarAnji Jonnala <anjir@codeaurora.org>
parent 7bd86da6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment