aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-03-07 03:07:47 -0500
committerMarek Lindner <lindner_marek@yahoo.de>2012-03-10 17:29:44 -0500
commit96741ade15187bfde3dddc4092a88ba7a7c9183c (patch)
tree6de21a475e26f76e0ae0a40b32ac28f83ecd816f /net/batman-adv
parent21a1236bc3155c0c2efcce8ba03540fdf979ac00 (diff)
batman-adv: Use {} braces consistent on the arms of a statement
Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv')
-rw-r--r--net/batman-adv/routing.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index 01b66d4a5aa..7f8e1589941 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -237,8 +237,9 @@ int window_protected(struct bat_priv *bat_priv, int32_t seq_num_diff,
237 "old packet received, start protection\n"); 237 "old packet received, start protection\n");
238 238
239 return 0; 239 return 0;
240 } else 240 } else {
241 return 1; 241 return 1;
242 }
242 } 243 }
243 return 0; 244 return 0;
244} 245}