[9610] wlbt: Fix compilation error by commenting out line for now Android P
authorTarun Karela <t.karela@samsung.com>
Wed, 30 May 2018 13:12:08 +0000 (14:12 +0100)
committerYoungsoo Kim <youngss.kim@samsung.com>
Fri, 15 Jun 2018 22:48:20 +0000 (07:48 +0900)
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 <t.karela@samsung.com>
drivers/net/wireless/scsc/sap_ma.c

index 11f0a017748e19e2b5e7d9566187d17b179c4541..dd949c0cb38f6d1da2aa12b92ce88b12a3627fbc 100755 (executable)
@@ -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 */