summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2012-03-07 09:07:47 +0100
committerMarek Lindner <lindner_marek@yahoo.de>2012-03-11 06:29:44 +0800
commit96741ade15187bfde3dddc4092a88ba7a7c9183c (patch)
tree6de21a475e26f76e0ae0a40b32ac28f83ecd816f /net
parent21a1236bc3155c0c2efcce8ba03540fdf979ac00 (diff)
downloadop-kernel-dev-96741ade15187bfde3dddc4092a88ba7a7c9183c.zip
op-kernel-dev-96741ade15187bfde3dddc4092a88ba7a7c9183c.tar.gz
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')
-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 01b66d4..7f8e158 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,
"old packet received, start protection\n");
return 0;
- } else
+ } else {
return 1;
+ }
}
return 0;
}
OpenPOWER on IntegriCloud