summaryrefslogtreecommitdiff
path: root/package/madwifi/patches/124-linux24_compat.patch
blob: 8f857e88e915135ad3c8029b98c000465eec07e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: madwifi-ng-r2568-20070710/ath/if_athvar.h
===================================================================
--- madwifi-ng-r2568-20070710.orig/ath/if_athvar.h	2007-07-11 22:59:42.904293522 +0200
+++ madwifi-ng-r2568-20070710/ath/if_athvar.h	2007-07-11 22:59:43.812345272 +0200
@@ -123,6 +123,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 *))