summaryrefslogtreecommitdiff
path: root/package/madwifi/patches-r3776/124-linux24_compat.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-18 22:50:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-18 22:50:46 +0000
commit16731f482f4d3f3e94c90beb70c9cbba9c8dd631 (patch)
tree59850f98e47a5e8165d1a1084b7e78d45db77b64 /package/madwifi/patches-r3776/124-linux24_compat.patch
parent4d144eee67a94959f1a5d875678e466775782c14 (diff)
downloadmtk-20170518-16731f482f4d3f3e94c90beb70c9cbba9c8dd631.zip
mtk-20170518-16731f482f4d3f3e94c90beb70c9cbba9c8dd631.tar.gz
mtk-20170518-16731f482f4d3f3e94c90beb70c9cbba9c8dd631.tar.bz2
refresh madwifi-testing patches
SVN-Revision: 11866
Diffstat (limited to 'package/madwifi/patches-r3776/124-linux24_compat.patch')
-rw-r--r--package/madwifi/patches-r3776/124-linux24_compat.patch24
1 files changed, 8 insertions, 16 deletions
diff --git a/package/madwifi/patches-r3776/124-linux24_compat.patch b/package/madwifi/patches-r3776/124-linux24_compat.patch
index 0ef7d92..2ab9364 100644
--- a/package/madwifi/patches-r3776/124-linux24_compat.patch
+++ b/package/madwifi/patches-r3776/124-linux24_compat.patch
@@ -1,7 +1,5 @@
-Index: madwifi-trunk-r3776/ath/if_athvar.h
-===================================================================
---- madwifi-trunk-r3776.orig/ath/if_athvar.h 2008-07-17 00:21:39.000000000 +0200
-+++ madwifi-trunk-r3776/ath/if_athvar.h 2008-07-17 00:50:03.000000000 +0200
+--- a/ath/if_athvar.h
++++ b/ath/if_athvar.h
@@ -129,6 +129,11 @@
#define ATH_GET_NETDEV_DEV(ndev) ((ndev)->class_dev.dev)
#endif
@@ -14,10 +12,8 @@ Index: madwifi-trunk-r3776/ath/if_athvar.h
#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 *))
-Index: madwifi-trunk-r3776/ath/if_ath_radar.c
-===================================================================
---- madwifi-trunk-r3776.orig/ath/if_ath_radar.c 2008-07-17 00:21:39.000000000 +0200
-+++ madwifi-trunk-r3776/ath/if_ath_radar.c 2008-07-17 00:50:03.000000000 +0200
+--- a/ath/if_ath_radar.c
++++ b/ath/if_ath_radar.c
@@ -89,6 +89,13 @@
#define nofloat_pct(_value, _pct) \
( (_value * (1000 + _pct)) / 1000 )
@@ -32,10 +28,8 @@ Index: madwifi-trunk-r3776/ath/if_ath_radar.c
struct radar_pattern_specification {
/* The name of the rule/specification (i.e. what did we detect) */
const char *name;
-Index: madwifi-trunk-r3776/ath/if_ath.c
-===================================================================
---- madwifi-trunk-r3776.orig/ath/if_ath.c 2008-07-17 00:47:22.000000000 +0200
-+++ madwifi-trunk-r3776/ath/if_ath.c 2008-07-17 00:50:03.000000000 +0200
+--- a/ath/if_ath.c
++++ b/ath/if_ath.c
@@ -4878,6 +4878,46 @@
return (txqs & (1 << qnum));
}
@@ -83,10 +77,8 @@ Index: madwifi-trunk-r3776/ath/if_ath.c
/*
* Generate beacon frame and queue cab data for a VAP.
*/
-Index: madwifi-trunk-r3776/net80211/sort.c
-===================================================================
---- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ madwifi-trunk-r3776/net80211/sort.c 2008-07-17 00:50:03.000000000 +0200
+--- /dev/null
++++ b/net80211/sort.c
@@ -0,0 +1,120 @@
+/*
+ * A fast, small, non-recursive O(nlog n) sort for the Linux kernel