aboutsummaryrefslogtreecommitdiffstats
path: root/package/uboot-lantiq/patches/310-fix-httpd.patch
diff options
context:
space:
mode:
authorRalph Hempel <ralph.hempel@lantiq.com>2010-04-24 06:03:31 +0000
committerRalph Hempel <ralph.hempel@lantiq.com>2010-04-24 06:03:31 +0000
commitd777bb98a14fb5a6cf25a318e4ad048212cff2ec (patch)
tree06931bda7bc7078d1e9139d4896e422d41fe786f /package/uboot-lantiq/patches/310-fix-httpd.patch
parentcee3154423b4a4943c896b005aa30e96a998f1d5 (diff)
downloadmaster-187ad058-d777bb98a14fb5a6cf25a318e4ad048212cff2ec.tar.gz
master-187ad058-d777bb98a14fb5a6cf25a318e4ad048212cff2ec.tar.bz2
master-187ad058-d777bb98a14fb5a6cf25a318e4ad048212cff2ec.zip
[uboot-lantiq] fix command line buffer length, fixes mtdparts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21117 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uboot-lantiq/patches/310-fix-httpd.patch')
-rw-r--r--package/uboot-lantiq/patches/310-fix-httpd.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/uboot-lantiq/patches/310-fix-httpd.patch b/package/uboot-lantiq/patches/310-fix-httpd.patch
index 51a96fc588..b27ed5859a 100644
--- a/package/uboot-lantiq/patches/310-fix-httpd.patch
+++ b/package/uboot-lantiq/patches/310-fix-httpd.patch
@@ -35,7 +35,7 @@
# endif
+# ifdef CONFIG_CMD_HTTPD
-+ if (ret < 0) {
++ if (ret != 0) {
+ printf("Failed to execute bootcmd "
+ "(maybe invalid u-boot environment?), "
+ "starting httpd to update firmware...\n");