carl9170 firmware tools: fix crash if source is a directory
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 30 Aug 2010 04:05:06 +0000 (06:05 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Mon, 30 Aug 2010 04:05:06 +0000 (06:05 +0200)
commitaed989a12b5cea537e40b7a5d2e7ee92385d2f3f
tree5da5c9cdaf30a82aa20589a3dcb531825c79fd80
parent680e83cda3d01bd4feb932f9b0e8e04cf43f2de9
carl9170 firmware tools: fix crash if source is a directory

The tools will no longer crash if the "firmware" file is
a directory.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
tools/lib/carlfw.c