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>
This commit is contained in:
parent
52f2ede1ce
commit
fcdc90b025
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue