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:
Vaisakh Murali <mvaisakh@statixos.com>
Loading
Please register or sign in to comment