update madwifi to latest version (fixes #2403)
[openwrt/openwrt.git] / package / madwifi / patches / 124-linux24_compat.patch
1 Index: madwifi-ng-r2799-20071030/ath/if_athvar.h
2 ===================================================================
3 --- madwifi-ng-r2799-20071030.orig/ath/if_athvar.h 2007-10-31 14:04:49.429438302 +0100
4 +++ madwifi-ng-r2799-20071030/ath/if_athvar.h 2007-10-31 14:04:50.117477510 +0100
5 @@ -128,6 +128,11 @@
6 #define NETDEV_TX_BUSY 1
7 #endif
8
9 +#ifndef NETDEV_TX_OK
10 +#define NETDEV_TX_OK 0
11 +#define NETDEV_TX_BUSY 1
12 +#endif
13 +
14 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,23)
15 static inline struct net_device *_alloc_netdev(int sizeof_priv, const char *mask,
16 void (*setup)(struct net_device *))