diff options
Diffstat (limited to 'package/uboot-lantiq/patches')
-rw-r--r-- | package/uboot-lantiq/patches/300-httpd.patch | 2 | ||||
-rw-r--r-- | package/uboot-lantiq/patches/310-fix-httpd.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/uboot-lantiq/patches/300-httpd.patch b/package/uboot-lantiq/patches/300-httpd.patch index d244e2d..8c4c1ff 100644 --- a/package/uboot-lantiq/patches/300-httpd.patch +++ b/package/uboot-lantiq/patches/300-httpd.patch @@ -12,7 +12,7 @@ + +U_BOOT_CMD( + httpd, 1, 1, do_httpd, -+ "httpd\t- start webserver\n", "\n" ++ "httpd\t- start webserver", "" +); +#endif + diff --git a/package/uboot-lantiq/patches/310-fix-httpd.patch b/package/uboot-lantiq/patches/310-fix-httpd.patch index 51a96fc..b27ed58 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"); |