1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-26 09:33:41 +03:00
openwrt-xburst/package/madwifi/patches/124-linux24_compat.patch
nbd 1152b725a1 update madwifi to latest version (fixes #2403)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-31 13:06:27 +00:00

17 lines
610 B
Diff

Index: madwifi-ng-r2799-20071030/ath/if_athvar.h
===================================================================
--- madwifi-ng-r2799-20071030.orig/ath/if_athvar.h 2007-10-31 14:04:49.429438302 +0100
+++ madwifi-ng-r2799-20071030/ath/if_athvar.h 2007-10-31 14:04:50.117477510 +0100
@@ -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 *))