#define LIN_CACHE_RESPONSE (1 << (LIN_CANFR_FLAGS_OFFS))
#define LIN_CHECKSUM_EXTENDED (1 << (LIN_CANFR_FLAGS_OFFS + 1))
+#define LIN_SINGLE_RESPONSE (1 << (LIN_CANFR_FLAGS_OFFS + 2))
/* Error flags */
if ((sce->frame_fl & LIN_CACHE_RESPONSE)
&& (sce->dlc > 0)) {
+ if (sce->frame_fl & LIN_SINGLE_RESPONSE)
+ sce->frame_fl &= ~LIN_CACHE_RESPONSE;
+
netdev_dbg(sl->dev, "Sending LIN response from linfr_cache\n");
lin_data = sce->data;
if ((sce->frame_fl & LIN_CACHE_RESPONSE)
&& (sce->dlc > 0)) {
+ if (sce->frame_fl & LIN_SINGLE_RESPONSE)
+ sce->frame_fl &= ~LIN_CACHE_RESPONSE;
+
netdev_dbg(sl->dev, "Sending LIN response from linfr_cache\n");
lin_data = sce->data;