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

Skip to content
Unverified Commit 56ddaca2 authored by Ash Blake's avatar Ash Blake Committed by Gagan Malvi
Browse files

drivers: misc: mtk: connectivity: fix empty string check



Strings in C are pointers to their first character, so we can't just compare str to '\0'.
If we want to check if str is empty by checking if the first character is null,
we have to dereference the str.

Signed-off-by: default avatarVaisakh Murali <mvaisakh@statixos.com>
parent 22c063da
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