Package: r8168 / 8.048.03-3

linux-3.2-debian.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Andreas Beckmann <anbe@debian.org>
Description: eth_hw_addr_random() was backported in Debian
Forwarded: not-needed

--- a/src/r8168_n.c
+++ b/src/r8168_n.c
@@ -571,7 +571,7 @@ static inline u32 mii_stat1000_to_ethtoo
 
 #endif //LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
 static inline void eth_hw_addr_random(struct net_device *dev)
 {
         random_ether_addr(dev->dev_addr);