From 75e68c1538963b043b8ad07499ef547b8c13a224 Mon Sep 17 00:00:00 2001 From: Vitaliy Gusev Date: Wed, 5 Nov 2008 18:27:18 +0300 Subject: [PATCH] --- yaml --- r: 119369 b: refs/heads/master c: 2ad49887150894b9ed6a87a76b409adceee6b074 h: refs/heads/master i: 119367: bc16ac3f5f519988548af9ead364cefdcc6e6dbf v: v3 --- [refs] | 2 +- trunk/drivers/mtd/ubi/wl.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b4a0a17db0ca..06d3e7cb2e36 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b77bcb07897f1a9cd9d1d78691896dcdb0fd1a22 +refs/heads/master: 2ad49887150894b9ed6a87a76b409adceee6b074 diff --git a/trunk/drivers/mtd/ubi/wl.c b/trunk/drivers/mtd/ubi/wl.c index 05d70937b543..dcb6dac1dc54 100644 --- a/trunk/drivers/mtd/ubi/wl.c +++ b/trunk/drivers/mtd/ubi/wl.c @@ -1396,7 +1396,8 @@ int ubi_thread(void *u) ubi_msg("%s: %d consecutive failures", ubi->bgt_name, WL_MAX_FAILURES); ubi_ro_mode(ubi); - break; + ubi->thread_enabled = 0; + continue; } } else failures = 0;