fix noise/signal level display (fixes #20)
[openwrt.git] / target / linux / package / madwifi / patches / 105-kernel_version_fix.patch
1 diff -ur madwifi-svn/net80211/ieee80211_linux.h madwifi-svn.openwrt/net80211/ieee80211_linux.h
2 --- madwifi-svn/net80211/ieee80211_linux.h 2005-10-22 18:16:58.000000000 +0200
3 +++ madwifi-svn.openwrt/net80211/ieee80211_linux.h 2005-10-22 18:31:50.000000000 +0200
4 @@ -341,7 +341,7 @@
5 }
6 #endif
7 /* XXX not in 2.6.6 but is in 2.6.10; might have appeared earlier */
8 -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) && LINUX_VERSION_CODE < KERNEL_VERSION(2,4,31)
9 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) && LINUX_VERSION_CODE < KERNEL_VERSION(2,4,30)
10 static __inline unsigned long msecs_to_jiffies(const unsigned int m)
11 {
12 return (m * HZ + 999) / 1000;
This page took 0.047684 seconds and 5 git commands to generate.