This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a patch to the GobiNet driver provided by Netgear | |
(http://www.downloads.netgear.com/files/aircard/Linux-Support-S2.13N2.25.zip) to support Kernel versions 3.19 and up | |
which deprecated the struct file->f_dentry api (https://lwn.net/Articles/206758/) as well as to support kernel versions 4.7 | |
and above which removed struct net_device->trans_start | |
You need this patch if you see either of these errors while compiling: | |
/usr/src/GobiNet/GobiUSBNet.c: In function ‘GobiUSBNetStartXmit’: | |
/usr/src/GobiNet/GobiUSBNet.c:1201:8: error: ‘struct net_device’ has no member named ‘trans_start’; did you mean ‘mem_start’? | |
pNet->trans_start = jiffies; |