File SLE12-SP3-netdev-last_rx-removal.patch of Package ndiswrapper

---
 driver/ndis.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/driver/ndis.c
+++ b/driver/ndis.c
@@ -2262,7 +2262,7 @@ wstdcall void NdisMIndicateReceivePacket
 			WARNING("empty packet ignored");
 			continue;
 		}
-		wnd->net_dev->last_rx = jiffies;
+		/* wnd->net_dev->last_rx = jiffies; */ /* removed in SP3 */
 		/* get total number of bytes in packet */
 		NdisGetFirstBufferFromPacketSafe(packet, &buffer, &virt,
 						 &length, &total_length,
@@ -2350,7 +2350,7 @@ wstdcall void EthRxIndicateHandler(struc
 		ERROR("nmb is NULL");
 		EXIT3(return);
 	}
-	wnd->net_dev->last_rx = jiffies;
+	/* wnd->net_dev->last_rx = jiffies; */ /* removed in SP3 */
 
 	if (look_ahead_size < packet_size) {
 		struct ndis_packet *packet;
@@ -2465,7 +2465,7 @@ wstdcall void NdisMTransferDataComplete(
 		WARNING("illegal packet");
 		EXIT3(return);
 	}
-	wnd->net_dev->last_rx = jiffies;
+	/* wnd->net_dev->last_rx = jiffies; */ /* removed in SP3 */
 	oob_data = NDIS_PACKET_OOB_DATA(packet);
 	skb_size = sizeof(oob_data->header) + oob_data->look_ahead_size +
 		bytes_txed;
openSUSE Build Service is sponsored by