diff options
Diffstat (limited to 'package/madwifi/patches/476-3.0_detection_fix.patch')
-rw-r--r-- | package/madwifi/patches/476-3.0_detection_fix.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/package/madwifi/patches/476-3.0_detection_fix.patch b/package/madwifi/patches/476-3.0_detection_fix.patch deleted file mode 100644 index 2f8bfb4a55..0000000000 --- a/package/madwifi/patches/476-3.0_detection_fix.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -155,13 +155,15 @@ unload: - configcheck: - @echo -n "Checking kernel configuration... " - -- @# check version of kernel -- @echo $(KERNELRELEASE) | grep -q -i '^[2-9]\.[4-9]\.' || { \ -- echo "FAILED"; \ -- echo "Only kernel versions 2.4.x and above are supported."; \ -- echo "You have $(KERNELRELEASE)."; \ -- exit 1; \ -- } -+ @# check kernel version -+ @case $(KERNELRELEASE) in \ -+ 2.[456].*) ;; \ -+ [3-9].*) ;; \ -+ *) echo "FAILED"; \ -+ echo "Only kernel versions 2.4.x and above are supported."; \ -+ echo "You have $(KERNELRELEASE)."; \ -+ exit 1 ;; \ -+ esac - - @# check kernel configuration - @if [ -z "$(CONFIG_SYSCTL)" ]; then \ |