Skip to content

Commit 5cc0e8c

Browse files
jori-nordicfabiobaltieri
authored andcommitted
Bluetooth: hci_core: reword warning
Reword the scary-looking `bt_hci_core; Malformed data` warning to show where it is originating from. Signed-off-by: Jonathan Rico <[email protected]>
1 parent ae1ed41 commit 5cc0e8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/bluetooth/host/hci_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4020,7 +4020,7 @@ void bt_data_parse(struct net_buf_simple *ad,
40204020
}
40214021

40224022
if (len > ad->len) {
4023-
BT_WARN("Malformed data");
4023+
BT_WARN("malformed advertising data");
40244024
return;
40254025
}
40264026

0 commit comments

Comments
 (0)