diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-12-05 14:20:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-12-05 14:20:17 +0000 |
commit | aa63f0bef6a965aa2248409ce0c094fed475b20b (patch) | |
tree | 1fb391b3ae38d7774a48c079b663a8f15c9031aa /package/mac80211/patches/130-fix_sublevel_check.patch | |
parent | 4cc2b9bb06436a1a57fc3620ea62c4835f9b7d51 (diff) | |
download | upstream-aa63f0bef6a965aa2248409ce0c094fed475b20b.tar.gz upstream-aa63f0bef6a965aa2248409ce0c094fed475b20b.tar.bz2 upstream-aa63f0bef6a965aa2248409ce0c094fed475b20b.zip |
mac80211: update to 2011-12-01
SVN-Revision: 29436
Diffstat (limited to 'package/mac80211/patches/130-fix_sublevel_check.patch')
-rw-r--r-- | package/mac80211/patches/130-fix_sublevel_check.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/patches/130-fix_sublevel_check.patch b/package/mac80211/patches/130-fix_sublevel_check.patch index b233311ab1..9dfa90af32 100644 --- a/package/mac80211/patches/130-fix_sublevel_check.patch +++ b/package/mac80211/patches/130-fix_sublevel_check.patch @@ -1,6 +1,6 @@ --- a/config.mk +++ b/config.mk -@@ -20,16 +20,16 @@ COMPAT_LATEST_VERSION = 1 +@@ -20,16 +20,16 @@ COMPAT_LATEST_VERSION = 3 KERNEL_VERSION := $(shell $(MAKE) -C $(KLIB_BUILD) kernelversion | sed -n 's/^\([0-9]\)\..*/\1/p') ifneq ($(KERNEL_VERSION),2) @@ -19,4 +19,4 @@ +COMPAT_VERSIONS := $(shell I=$(COMPAT_LATEST_VERSION); while [ "$$I" -gt $(COMPAT_KERNEL_SUBLEVEL) ]; do echo $$I; I=$$(($$I - 1)); done) $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_3_$(ver)=y)) - ifdef CONFIG_COMPAT_KERNEL_2_6_24 + RHEL_MAJOR := $(shell grep ^RHEL_MAJOR $(KLIB_BUILD)/Makefile | sed -n 's/.*= *\(.*\)/\1/p') |