carl9170 firmware tools: fix off-by-one segmentation fault in fwprepare
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 23 Nov 2013 13:22:55 +0000 (14:22 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Sat, 23 Nov 2013 13:22:55 +0000 (14:22 +0100)
This patch fixes a segmentation fault which would occur if the
firmware had the PATTERN_GENERATOR feature bit set, but didn't
have the pattern descriptor.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

No differences found