From 0fc1f2a62823d9904feafb28a824a2967f1196f3 Mon Sep 17 00:00:00 2001 From: Andy Walls Date: Sun, 5 Jul 2009 16:22:45 -0300 Subject: [PATCH] --- yaml --- r: 154953 b: refs/heads/master c: 0a6843483c256c859cd9542361812a29403f0fb5 h: refs/heads/master i: 154951: 2e1d5cf1cb001782afec2a630a2b651894f62e80 v: v3 --- [refs] | 2 +- trunk/Documentation/dvb/get_dvb_firmware | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 3f74c190edfc..72961a92c5a9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a5ca3a1bc719cb9056acc6f24340a1e2674f21a0 +refs/heads/master: 0a6843483c256c859cd9542361812a29403f0fb5 diff --git a/trunk/Documentation/dvb/get_dvb_firmware b/trunk/Documentation/dvb/get_dvb_firmware index 64174d6258f0..3d1b0ab70c8e 100644 --- a/trunk/Documentation/dvb/get_dvb_firmware +++ b/trunk/Documentation/dvb/get_dvb_firmware @@ -413,13 +413,14 @@ sub mpc718 { while () { $currlen = length($_); - if ($prevlen == $currlen || $currlen <= 64) { + if ($prevlen == $currlen && $currlen <= 64) { chop; chop; # Get rid of "TUNER GO" s/^\0\0//; # get rid of leading 00 00 if it's there printf OUT "$_"; $found = 1; last; } + $prevlen = $currlen; } } close OUT;