diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-11-27 11:29:35 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-28 20:38:11 +0400 |
commit | fcdc90b025e69a38f9ec2742df099c7ddaa331fe (patch) | |
tree | 1c8dbacc57ac44374760bb57c6f640965561f4af | |
parent | 52f2ede1ced85040f00d0dc70dad2d4ae7c46aa6 (diff) | |
download | linux-fcdc90b025e69a38f9ec2742df099c7ddaa331fe.tar.xz |
atm: forever loop loading ambassador firmware
There was a forever loop introduced here when we converted this to
request_firmware() back in 2008.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/atm/ambassador.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/atm/ambassador.c b/drivers/atm/ambassador.c index 89b30f32ba68..ff7bb8a42ed6 100644 --- a/drivers/atm/ambassador.c +++ b/drivers/atm/ambassador.c @@ -1961,6 +1961,7 @@ static int __devinit ucode_init (loader_block * lb, amb_dev * dev) { res = loader_verify(lb, dev, rec); if (res) break; + rec = ihex_next_binrec(rec); } release_firmware(fw); if (!res) |