openwrtv4/package/madwifi/patches/124-linux24_compat.patch
Felix Fietkau 479cf96993 upgrade madwifi to r2756
SVN-Revision: 9422
2007-10-24 04:35:02 +00:00

16 lines
610 B
Diff

Index: madwifi-ng-r2756-20071018/ath/if_athvar.h
===================================================================
--- madwifi-ng-r2756-20071018.orig/ath/if_athvar.h 2007-10-24 06:20:19.101777824 +0200
+++ madwifi-ng-r2756-20071018/ath/if_athvar.h 2007-10-24 06:20:19.789817035 +0200
@@ -128,6 +128,11 @@
#define NETDEV_TX_BUSY 1
#endif
+#ifndef NETDEV_TX_OK
+#define NETDEV_TX_OK 0
+#define NETDEV_TX_BUSY 1
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,23)
static inline struct net_device *_alloc_netdev(int sizeof_priv, const char *mask,
void (*setup)(struct net_device *))