batman-adv: Use {} braces consistent on the arms of a statement
authorSven Eckelmann <sven@narfation.org>
Wed, 7 Mar 2012 08:07:47 +0000 (09:07 +0100)
committerMarek Lindner <lindner_marek@yahoo.de>
Sat, 10 Mar 2012 22:29:44 +0000 (06:29 +0800)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/routing.c

index 01b66d4a5aad076fd7eac4d29e6c9bf4b9758ef8..7f8e15899417c351c5344640682acb26a23b852a 100644 (file)
@@ -237,8 +237,9 @@ int window_protected(struct bat_priv *bat_priv, int32_t seq_num_diff,
                                "old packet received, start protection\n");
 
                        return 0;
-               } else
+               } else {
                        return 1;
+               }
        }
        return 0;
 }