X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/18a605bf0b48420b0385f75c886d43c81435f532..e926403b86a2bb6250010d9518e875c7859e4e46:/package/madwifi/patches/124-linux24_compat.patch?ds=sidebyside diff --git a/package/madwifi/patches/124-linux24_compat.patch b/package/madwifi/patches/124-linux24_compat.patch index ba7a4073b..88601a4c7 100644 --- a/package/madwifi/patches/124-linux24_compat.patch +++ b/package/madwifi/patches/124-linux24_compat.patch @@ -1,8 +1,6 @@ -Index: madwifi-trunk-r3314/ath/if_athvar.h -=================================================================== ---- madwifi-trunk-r3314.orig/ath/if_athvar.h 2008-01-31 03:29:54.077194330 +0100 -+++ madwifi-trunk-r3314/ath/if_athvar.h 2008-01-31 03:31:07.693389480 +0100 -@@ -126,6 +126,11 @@ +--- a/ath/if_athvar.h ++++ b/ath/if_athvar.h +@@ -126,6 +126,11 @@ typedef void irqreturn_t; #define ATH_GET_NETDEV_DEV(ndev) ((ndev)->class_dev.dev) #endif @@ -14,10 +12,8 @@ Index: madwifi-trunk-r3314/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-r3314/ath/if_ath_radar.c -=================================================================== ---- madwifi-trunk-r3314.orig/ath/if_ath_radar.c 2008-01-31 03:29:54.081194559 +0100 -+++ madwifi-trunk-r3314/ath/if_ath_radar.c 2008-01-31 03:31:07.697389706 +0100 +--- a/ath/if_ath_radar.c ++++ b/ath/if_ath_radar.c @@ -92,6 +92,13 @@ #define nofloat_pct(_value, _pct) \ ( (_value * (1000 + _pct)) / 1000 ) @@ -32,11 +28,9 @@ Index: madwifi-trunk-r3314/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-r3314/ath/if_ath.c -=================================================================== ---- madwifi-trunk-r3314.orig/ath/if_ath.c 2008-01-31 03:30:19.778658973 +0100 -+++ madwifi-trunk-r3314/ath/if_ath.c 2008-01-31 03:31:07.709390390 +0100 -@@ -4705,6 +4705,46 @@ +--- a/ath/if_ath.c ++++ b/ath/if_ath.c +@@ -4705,6 +4705,46 @@ ath_beacon_setup(struct ath_softc *sc, s #undef USE_SHPREAMBLE } @@ -83,10 +77,8 @@ Index: madwifi-trunk-r3314/ath/if_ath.c /* * Generate beacon frame and queue cab data for a VAP. */ -Index: madwifi-trunk-r3314/net80211/sort.c -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ madwifi-trunk-r3314/net80211/sort.c 2008-01-31 03:31:07.717390845 +0100 +--- /dev/null ++++ b/net80211/sort.c @@ -0,0 +1,120 @@ +/* + * A fast, small, non-recursive O(nlog n) sort for the Linux kernel