Skip to content

Commit f851462

Browse files
Loic Poulainjukkar
authored andcommitted
drivers: wifi: eswifi: Use log_strdup for strings
Use log_strdup() helper for logger string parameters. Signed-off-by: Loic Poulain <[email protected]>
1 parent 0a1de7e commit f851462

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/wifi/eswifi/eswifi_core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ static int eswifi_connect(struct eswifi_dev *eswifi)
243243
char *rsp;
244244
int err;
245245

246-
LOG_DBG("Connecting to %s (pass=%s)", eswifi->sta.ssid,
247-
eswifi->sta.pass);
246+
LOG_DBG("Connecting to %s (pass=%s)", log_strdup(eswifi->sta.ssid),
247+
log_strdup(eswifi->sta.pass));
248248

249249
eswifi_lock(eswifi);
250250

0 commit comments

Comments
 (0)