diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-07-09 11:52:13 -0400 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-08-22 09:16:19 -0400 |
commit | 015758d00251a4dd9287806cdab4b9c1298f97ed (patch) | |
tree | f7569640da23701bc5c391afc1033cf89e1626aa /net/batman-adv/translation-table.c | |
parent | 1a1f37d9257a4792ca17b28b1c2e4ad15fe95b28 (diff) |
batman-adv: correct several typ0s in the comments
Several typos have been corrected and some sentences have been rephrased
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/translation-table.c')
-rw-r--r-- | net/batman-adv/translation-table.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index fb6931d00cd7..6004cd8eb9c7 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c | |||
@@ -369,8 +369,8 @@ static void tt_local_set_pending(struct bat_priv *bat_priv, | |||
369 | tt_local_event(bat_priv, tt_local_entry->addr, | 369 | tt_local_event(bat_priv, tt_local_entry->addr, |
370 | tt_local_entry->flags | flags); | 370 | tt_local_entry->flags | flags); |
371 | 371 | ||
372 | /* The local client has to be merked as "pending to be removed" but has | 372 | /* The local client has to be marked as "pending to be removed" but has |
373 | * to be kept in the table in order to send it in an full tables | 373 | * to be kept in the table in order to send it in a full table |
374 | * response issued before the net ttvn increment (consistency check) */ | 374 | * response issued before the net ttvn increment (consistency check) */ |
375 | tt_local_entry->flags |= TT_CLIENT_PENDING; | 375 | tt_local_entry->flags |= TT_CLIENT_PENDING; |
376 | } | 376 | } |
@@ -1137,12 +1137,12 @@ static bool send_other_tt_response(struct bat_priv *bat_priv, | |||
1137 | orig_ttvn = (uint8_t)atomic_read(&req_dst_orig_node->last_ttvn); | 1137 | orig_ttvn = (uint8_t)atomic_read(&req_dst_orig_node->last_ttvn); |
1138 | req_ttvn = tt_request->ttvn; | 1138 | req_ttvn = tt_request->ttvn; |
1139 | 1139 | ||
1140 | /* I have not the requested data */ | 1140 | /* I don't have the requested data */ |
1141 | if (orig_ttvn != req_ttvn || | 1141 | if (orig_ttvn != req_ttvn || |
1142 | tt_request->tt_data != req_dst_orig_node->tt_crc) | 1142 | tt_request->tt_data != req_dst_orig_node->tt_crc) |
1143 | goto out; | 1143 | goto out; |
1144 | 1144 | ||
1145 | /* If it has explicitly been requested the full table */ | 1145 | /* If the full table has been explicitly requested */ |
1146 | if (tt_request->flags & TT_FULL_TABLE || | 1146 | if (tt_request->flags & TT_FULL_TABLE || |
1147 | !req_dst_orig_node->tt_buff) | 1147 | !req_dst_orig_node->tt_buff) |
1148 | full_table = true; | 1148 | full_table = true; |