diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2005-10-23 09:39:12 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2005-10-23 09:39:12 +0000 |
commit | 90d36e57caa1371b9c9adb3a014857ba198f9d7d (patch) | |
tree | 8d267687119f7dba8ba9ba4b5df97ea618eee003 /target/linux/package/madwifi/patches | |
parent | 155d58c6931397ed9543025e575d6bfa49393b8a (diff) | |
download | upstream-90d36e57caa1371b9c9adb3a014857ba198f9d7d.tar.gz upstream-90d36e57caa1371b9c9adb3a014857ba198f9d7d.tar.bz2 upstream-90d36e57caa1371b9c9adb3a014857ba198f9d7d.zip |
replace madwifi with madwifi-ng
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2272 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/madwifi/patches')
-rw-r--r-- | target/linux/package/madwifi/patches/105-kernel_version_fix.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/package/madwifi/patches/105-kernel_version_fix.patch b/target/linux/package/madwifi/patches/105-kernel_version_fix.patch new file mode 100644 index 0000000000..f34c2ce75d --- /dev/null +++ b/target/linux/package/madwifi/patches/105-kernel_version_fix.patch @@ -0,0 +1,12 @@ +diff -ur madwifi-svn/net80211/ieee80211_linux.h madwifi-svn.openwrt/net80211/ieee80211_linux.h +--- madwifi-svn/net80211/ieee80211_linux.h 2005-10-22 18:16:58.000000000 +0200 ++++ madwifi-svn.openwrt/net80211/ieee80211_linux.h 2005-10-22 18:31:50.000000000 +0200 +@@ -341,7 +341,7 @@ + } + #endif + /* XXX not in 2.6.6 but is in 2.6.10; might have appeared earlier */ +-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) && LINUX_VERSION_CODE < KERNEL_VERSION(2,4,31) ++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) && LINUX_VERSION_CODE < KERNEL_VERSION(2,4,30) + static __inline unsigned long msecs_to_jiffies(const unsigned int m) + { + return (m * HZ + 999) / 1000; |