clk_snapshot = event_msg->default_cs;
BT_ASSERT_PRE(clk_snapshot,
- "Event has no default clock snapshot: %!+e",
- event_msg->event);
+ "Event message has no default clock snapshot: %!+n",
+ event_msg);
break;
}
case BT_MESSAGE_TYPE_INACTIVITY:
}
case BT_MESSAGE_TYPE_PACKET_BEGINNING:
case BT_MESSAGE_TYPE_PACKET_END:
- /* Ignore */
- goto end;
+ {
+ const struct bt_message_packet *packet_msg =
+ (const void *) msg;
+
+ clk_snapshot = packet_msg->default_cs;
+ BT_ASSERT_PRE(clk_snapshot,
+ "Packet message has no default clock snapshot: %!+n",
+ packet_msg);
+ break;
+ }
case BT_MESSAGE_TYPE_DISCARDED_EVENTS:
case BT_MESSAGE_TYPE_DISCARDED_PACKETS:
{