Skip to content

Commit 6693923

Browse files
pdgendtcfriedt
authored andcommitted
net: wifi: mgmt: Remove extraneous newlines from logs
Some log statements appended unnecessary newlines, remove those. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent ce45f4c commit 6693923

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

subsys/net/l2/wifi/wifi_mgmt.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ void wifi_mgmt_raise_neighbor_rep_recv_event(struct net_if *iface, char *inbuf,
678678
LOG_INF("Maximum neighbors added to list, Skipping.");
679679
}
680680
} else {
681-
LOG_INF("Failed to Parse Neighbor Report - Skipping entry\n");
681+
LOG_INF("Failed to Parse Neighbor Report - Skipping entry");
682682
}
683683
}
684684
#endif
@@ -1038,7 +1038,7 @@ static int wifi_set_twt(uint64_t mgmt_request, struct net_if *iface,
10381038
}
10391039
#else
10401040
NET_WARN("Check for valid IP address been disabled. "
1041-
"Device might be unreachable or might not receive traffic.\n");
1041+
"Device might be unreachable or might not receive traffic.");
10421042
#endif /* CONFIG_WIFI_MGMT_TWT_CHECK_IP */
10431043

10441044
if (info.link_mode < WIFI_6) {
@@ -1537,7 +1537,7 @@ static int __stored_creds_to_params(struct wifi_credentials_personal *creds,
15371537
{
15381538
/* SSID */
15391539
if (creds->header.ssid_len > WIFI_SSID_MAX_LEN) {
1540-
LOG_ERR("SSID string truncated\n");
1540+
LOG_ERR("SSID string truncated");
15411541
return -EINVAL;
15421542
}
15431543

@@ -1557,7 +1557,7 @@ static int __stored_creds_to_params(struct wifi_credentials_personal *creds,
15571557
if (params->security == WIFI_SECURITY_TYPE_EAP_TLS) {
15581558
if (creds->header.key_passwd_length > 0) {
15591559
if (creds->header.key_passwd_length > WIFI_ENT_PSWD_MAX_LEN) {
1560-
LOG_ERR("key_passwd string truncated\n");
1560+
LOG_ERR("key_passwd string truncated");
15611561
return -EINVAL;
15621562
}
15631563
memcpy((uint8_t *)params->key_passwd, creds->header.key_passwd,

0 commit comments

Comments
 (0)