diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-11-27 08:29:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-28 17:38:11 +0100 |
commit | fcdc90b025e69a38f9ec2742df099c7ddaa331fe (patch) | |
tree | 1c8dbacc57ac44374760bb57c6f640965561f4af | |
parent | Merge branch 'master' of git://1984.lsi.us.es/nf (diff) | |
download | linux-fcdc90b025e69a38f9ec2742df099c7ddaa331fe.tar.xz linux-fcdc90b025e69a38f9ec2742df099c7ddaa331fe.zip |
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) |