diff options
author | Andy Walls <awalls@radix.net> | 2009-07-05 21:22:45 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-06 00:21:49 +0200 |
commit | 0a6843483c256c859cd9542361812a29403f0fb5 (patch) | |
tree | 910e6cb0b1dda85e11025e01d67673232398008e /firmware/ositech | |
parent | V4L/DVB (12203): radio-si470x: fix lock imbalance (diff) | |
download | linux-0a6843483c256c859cd9542361812a29403f0fb5.tar.xz linux-0a6843483c256c859cd9542361812a29403f0fb5.zip |
V4L/DVB (12206): get_dvb_firmware: Correct errors in MPC718 firmware extraction logic
The extraction routine for the MPC718 "firmware" had 2 bugs in it, where one
bug masked the effect of the other. The loop iteration should have set
$prevlen = $currlen at the end of the loop, and the if() check should have used
&& instead of || for deciding if the firmware length is reasonable.
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'firmware/ositech')
0 files changed, 0 insertions, 0 deletions