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

Skip to content
Commit 023e9837 authored by Ahmad Masri's avatar Ahmad Masri
Browse files

wil6210: fix parsing wigig.ini configuration file



Parsing the configuration file is using the function strsep to check
lines with parameter and followed by '=' and value.

The function char *strsep(char **stringp, const char *delim)
will return all stringp if the delim string was not found in stringp,
it will also set NULL for stringp.

Fix the code to check if stringp parameter to strsep was set to NULL.

Change-Id: I7ddbd175f8292e629f227ce9b6ba4d51e4b437da
Signed-off-by: default avatarAhmad Masri <amasri@codeaurora.org>
parent eca47d45
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