diff options
-rw-r--r-- | drivers/memstick/core/memstick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memstick/core/memstick.c b/drivers/memstick/core/memstick.c index 3c97bac4e47b..decd6a49fd5a 100644 --- a/drivers/memstick/core/memstick.c +++ b/drivers/memstick/core/memstick.c | |||
@@ -236,7 +236,7 @@ int memstick_next_req(struct memstick_host *host, struct memstick_request **mrq) | |||
236 | rc = host->card->next_request(host->card, mrq); | 236 | rc = host->card->next_request(host->card, mrq); |
237 | 237 | ||
238 | if (!rc) | 238 | if (!rc) |
239 | host->retries = cmd_retries; | 239 | host->retries = cmd_retries > 1 ? cmd_retries - 1 : 1; |
240 | else | 240 | else |
241 | *mrq = NULL; | 241 | *mrq = NULL; |
242 | 242 | ||