Skip to content

Instantly share code, notes, and snippets.

@vogelj
Created March 3, 2021 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vogelj/7e3bd1d0b05334502cb6e97a7e6c7d46 to your computer and use it in GitHub Desktop.
Save vogelj/7e3bd1d0b05334502cb6e97a7e6c7d46 to your computer and use it in GitHub Desktop.
--- a/ax88179_178a.c 2020-04-27 05:21:40.000000000 +0200
+++ b/ax88179_178a.c 2021-03-03 14:27:01.441353744 +0100
@@ -1027,7 +1027,7 @@
.ndo_set_features = ax88179_set_features,
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0)
- .ndo_get_stats64 = usbnet_get_stats64,
+ .ndo_get_stats64 = dev_get_tstats64,
#endif
};
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment