* Funded by: Volkswagen Group Research
*/
-#define DEBUG 1 /* Enables pr_debug() printouts */
+//#define DEBUG 1 /* Enables pr_debug() printouts */
#include <linux/module.h>
#include <linux/moduleparam.h>
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;