35e71ec535
Returning an uint32_t casted to a gint from g_cmp_ids causes the tx queue to become wrongly sorted when executing g_slist_sort. Fix this by always returning -1 or 1 from g_cmp_ids based on the ID comparison instead. Also, if two message IDs are the same, sort them by using their index and transmit the message at the lowest index first. Signed-off-by: Shiva sagar Myana <Shivasagar.Myana@amd.com> Reviewed-by: Francisco Iglesias <francisco.iglesias@amd.com> Message-id: 20240603051732.3334571-1-Shivasagar.Myana@amd.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
||
---|---|---|
.. | ||
can_kvaser_pci.c | ||
can_mioe3680_pci.c | ||
can_pcm3680_pci.c | ||
can_sja1000.c | ||
can_sja1000.h | ||
ctu_can_fd_frame.h | ||
ctu_can_fd_regs.h | ||
ctucan_core.c | ||
ctucan_core.h | ||
ctucan_pci.c | ||
meson.build | ||
trace-events | ||
trace.h | ||
xlnx-versal-canfd.c | ||
xlnx-zynqmp-can.c |