carl9170: fix indention and add missing fi
authorChristian Lamparter <chunkeey@googlemail.com>
Mon, 14 Jan 2013 19:57:02 +0000 (20:57 +0100)
committerChristian Lamparter <chunkeey@googlemail.com>
Mon, 14 Jan 2013 19:58:18 +0000 (20:58 +0100)
This patch fixes my overzealous editing in
"carl9170: Add checksum during installation, as preferred by the driver"

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

index 83b4201eeb96575fa6a4ca1aac306e42d566fc98..287d7a2cd476e37ae7f27c53ab8e252357588ee7 100755 (executable)
@@ -28,14 +28,14 @@ case "$1" in
 
                echo -n "Installing firmware..."
                if [ "$CONFIG_CARL9170FW_BUILD_TOOLS" = "y" ]; then
-
-               if [ "$CONFIG_CARL9170FW_BUILD_MINIBOOT" = "y" ]; then
-                       echo -n "Apply miniboot..."
-                       # also adds checksum
-                       tools/src/miniboot a carlfw/carl9170.fw minifw/miniboot.fw
-               else
-                       echo -n "Add checksum..."
-                       tools/src/checksum carlfw/carl9170.fw
+                       if [ "$CONFIG_CARL9170FW_BUILD_MINIBOOT" = "y" ]; then
+                               echo -n "Apply miniboot..."
+                               # also adds checksum
+                               tools/src/miniboot a carlfw/carl9170.fw minifw/miniboot.fw
+                       else
+                               echo -n "Add checksum..."
+                               tools/src/checksum carlfw/carl9170.fw
+                       fi
                fi
 
                install -m 644 carlfw/carl9170.fw \