diff options
author | Sven Eckelmann <sven@narfation.org> | 2012-02-28 04:55:36 -0500 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2012-02-28 06:14:31 -0500 |
commit | 7c64fd98ce512de6c6dae0452dc026446bd368d5 (patch) | |
tree | 81b5a3df9c7937f1d85cc9f32841fe9b949ca0bb /net/batman-adv/bitarray.c | |
parent | fdc8ff101163f10d36187a890a3c4990cebb8b12 (diff) |
batman-adv: Fix indentation of multiline statements
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/bitarray.c')
-rw-r--r-- | net/batman-adv/bitarray.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/batman-adv/bitarray.c b/net/batman-adv/bitarray.c index e63069d61dbb..6d0aa216b232 100644 --- a/net/batman-adv/bitarray.c +++ b/net/batman-adv/bitarray.c | |||
@@ -154,8 +154,8 @@ int bit_get_packet(void *priv, unsigned long *seq_bits, | |||
154 | 154 | ||
155 | /* sequence number is much newer, probably missed a lot of packets */ | 155 | /* sequence number is much newer, probably missed a lot of packets */ |
156 | 156 | ||
157 | if ((seq_num_diff >= TQ_LOCAL_WINDOW_SIZE) | 157 | if ((seq_num_diff >= TQ_LOCAL_WINDOW_SIZE) && |
158 | && (seq_num_diff < EXPECTED_SEQNO_RANGE)) { | 158 | (seq_num_diff < EXPECTED_SEQNO_RANGE)) { |
159 | bat_dbg(DBG_BATMAN, bat_priv, | 159 | bat_dbg(DBG_BATMAN, bat_priv, |
160 | "We missed a lot of packets (%i) !\n", | 160 | "We missed a lot of packets (%i) !\n", |
161 | seq_num_diff - 1); | 161 | seq_num_diff - 1); |
@@ -170,8 +170,8 @@ int bit_get_packet(void *priv, unsigned long *seq_bits, | |||
170 | * packet should be dropped without calling this function if the | 170 | * packet should be dropped without calling this function if the |
171 | * seqno window is protected. */ | 171 | * seqno window is protected. */ |
172 | 172 | ||
173 | if ((seq_num_diff <= -TQ_LOCAL_WINDOW_SIZE) | 173 | if ((seq_num_diff <= -TQ_LOCAL_WINDOW_SIZE) || |
174 | || (seq_num_diff >= EXPECTED_SEQNO_RANGE)) { | 174 | (seq_num_diff >= EXPECTED_SEQNO_RANGE)) { |
175 | 175 | ||
176 | bat_dbg(DBG_BATMAN, bat_priv, | 176 | bat_dbg(DBG_BATMAN, bat_priv, |
177 | "Other host probably restarted!\n"); | 177 | "Other host probably restarted!\n"); |