Skip to content

Commit

Permalink
[noup] zephyr: use MSG_INFO level for wpa_cli command response print
Browse files Browse the repository at this point in the history
wpa_cli command with interactive means to show response info on console.
In this case it is better to use MSG_INFO level to print instead of
MSG_DEBUG level. As MSG_DEBUG level is for debug cases, but wpa_cli
response print is normal use case.

Signed-off-by: Fengming Ye <[email protected]>
  • Loading branch information
fengming-ye authored and jukkar committed Jun 22, 2024
1 parent 39991aa commit 9c67d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wpa_supplicant/wpa_cli_zephyr.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print,
if (print) {
buf[len] = '\0';
if (buf[0] != '\0')
wpa_printf(MSG_DEBUG, "%s", buf);
wpa_printf(MSG_INFO, "%s", buf);
}

return 0;
Expand Down

0 comments on commit 9c67d61

Please sign in to comment.