drivers: wifi: eswifi: Use log_strdup for strings
Use log_strdup() helper for logger string parameters. Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
This commit is contained in:
parent
0a1de7e96a
commit
f851462f27
1 changed files with 2 additions and 2 deletions
|
@ -243,8 +243,8 @@ static int eswifi_connect(struct eswifi_dev *eswifi)
|
|||
char *rsp;
|
||||
int err;
|
||||
|
||||
LOG_DBG("Connecting to %s (pass=%s)", eswifi->sta.ssid,
|
||||
eswifi->sta.pass);
|
||||
LOG_DBG("Connecting to %s (pass=%s)", log_strdup(eswifi->sta.ssid),
|
||||
log_strdup(eswifi->sta.pass));
|
||||
|
||||
eswifi_lock(eswifi);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue