mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 20:52:59 +02:00
17 lines
642 B
Diff
17 lines
642 B
Diff
|
Index: madwifi-ng-r2537-20070704/ath/if_athvar.h
|
||
|
===================================================================
|
||
|
--- madwifi-ng-r2537-20070704.orig/ath/if_athvar.h 2007-07-07 11:28:00.232371000 +0200
|
||
|
+++ madwifi-ng-r2537-20070704/ath/if_athvar.h 2007-07-07 11:28:09.784968000 +0200
|
||
|
@@ -118,6 +118,11 @@
|
||
|
#define ATH_GET_NETDEV_DEV(ndev) ((ndev)->class_dev.dev)
|
||
|
#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 *))
|