From 9dc02b26ae16c61a8846b4296e2bf403173a96de Mon Sep 17 00:00:00 2001 From: Tarun Karela Date: Wed, 30 May 2018 14:12:08 +0100 Subject: [PATCH] [9610] wlbt: Fix compilation error by commenting out line for now Android P drivers/net/wireless/scsc/rx.c: In function 'slsi_rx_received_frame_ind': drivers/net/wireless/scsc/rx.c:1923:6: error: 'struct net_device' has no member named 'last_rx' dev->last_rx = jiffies; Change-Id: Icd9b9bd5170a6a8dd0b0f76f0c44cb1cb6233718 SCSC-Bug-Id: SSB-40175 Signed-off-by: Tarun Karela --- drivers/net/wireless/scsc/sap_ma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/scsc/sap_ma.c b/drivers/net/wireless/scsc/sap_ma.c index 11f0a017748e..dd949c0cb38f 100755 --- a/drivers/net/wireless/scsc/sap_ma.c +++ b/drivers/net/wireless/scsc/sap_ma.c @@ -177,7 +177,7 @@ static int slsi_rx_amsdu_deaggregate(struct net_device *dev, struct sk_buff *skb ndev_vif->stats.rx_bytes += subframe->len; ndev_vif->stats.rx_packets++; - dev->last_rx = jiffies; + /* dev->last_rx = jiffies; */ SCSC_HIP4_SAMPLER_TCP_DECODE(ndev_vif->sdev, dev, skb->data, true); subframe->protocol = eth_type_trans(subframe, dev); #ifdef CONFIG_SCSC_WLAN_RX_NAPI @@ -344,7 +344,7 @@ static int slsi_rx_data_process_skb(struct slsi_dev *sdev, struct net_device *de ndev_vif->stats.rx_packets++; ndev_vif->stats.rx_bytes += (*skb)->len; - dev->last_rx = jiffies; + /* dev->last_rx = jiffies; */ ndev_vif->rx_packets[trafic_q]++; /* Intra BSS */ -- 2.20.1