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/send.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/send.c')
-rw-r--r-- | net/batman-adv/send.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/batman-adv/send.c b/net/batman-adv/send.c index 58d14472068c..57ae80936911 100644 --- a/net/batman-adv/send.c +++ b/net/batman-adv/send.c | |||
@@ -135,7 +135,7 @@ static void send_packet_to_if(struct forw_packet *forw_packet, | |||
135 | "Forwarding")); | 135 | "Forwarding")); |
136 | bat_dbg(DBG_BATMAN, bat_priv, | 136 | bat_dbg(DBG_BATMAN, bat_priv, |
137 | "%s %spacket (originator %pM, seqno %d, TQ %d, TTL %d," | 137 | "%s %spacket (originator %pM, seqno %d, TQ %d, TTL %d," |
138 | " IDF %s, hvn %d) on interface %s [%pM]\n", | 138 | " IDF %s, ttvn %d) on interface %s [%pM]\n", |
139 | fwd_str, (packet_num > 0 ? "aggregated " : ""), | 139 | fwd_str, (packet_num > 0 ? "aggregated " : ""), |
140 | batman_packet->orig, ntohl(batman_packet->seqno), | 140 | batman_packet->orig, ntohl(batman_packet->seqno), |
141 | batman_packet->tq, batman_packet->ttl, | 141 | batman_packet->tq, batman_packet->ttl, |
@@ -313,7 +313,7 @@ void schedule_own_packet(struct hard_iface *hard_iface) | |||
313 | prepare_packet_buffer(bat_priv, hard_iface); | 313 | prepare_packet_buffer(bat_priv, hard_iface); |
314 | } | 314 | } |
315 | 315 | ||
316 | /* if the changes have been sent enough times */ | 316 | /* if the changes have been sent often enough */ |
317 | if (!atomic_dec_not_zero(&bat_priv->tt_ogm_append_cnt)) | 317 | if (!atomic_dec_not_zero(&bat_priv->tt_ogm_append_cnt)) |
318 | reset_packet_buffer(bat_priv, hard_iface); | 318 | reset_packet_buffer(bat_priv, hard_iface); |
319 | } | 319 | } |
@@ -454,7 +454,7 @@ static void _add_bcast_packet_to_list(struct bat_priv *bat_priv, | |||
454 | } | 454 | } |
455 | 455 | ||
456 | /* add a broadcast packet to the queue and setup timers. broadcast packets | 456 | /* add a broadcast packet to the queue and setup timers. broadcast packets |
457 | * are sent multiple times to increase probability for beeing received. | 457 | * are sent multiple times to increase probability for being received. |
458 | * | 458 | * |
459 | * This function returns NETDEV_TX_OK on success and NETDEV_TX_BUSY on | 459 | * This function returns NETDEV_TX_OK on success and NETDEV_TX_BUSY on |
460 | * errors. | 460 | * errors. |
@@ -612,7 +612,7 @@ void purge_outstanding_packets(struct bat_priv *bat_priv, | |||
612 | &bat_priv->forw_bcast_list, list) { | 612 | &bat_priv->forw_bcast_list, list) { |
613 | 613 | ||
614 | /** | 614 | /** |
615 | * if purge_outstanding_packets() was called with an argmument | 615 | * if purge_outstanding_packets() was called with an argument |
616 | * we delete only packets belonging to the given interface | 616 | * we delete only packets belonging to the given interface |
617 | */ | 617 | */ |
618 | if ((hard_iface) && | 618 | if ((hard_iface) && |
@@ -641,7 +641,7 @@ void purge_outstanding_packets(struct bat_priv *bat_priv, | |||
641 | &bat_priv->forw_bat_list, list) { | 641 | &bat_priv->forw_bat_list, list) { |
642 | 642 | ||
643 | /** | 643 | /** |
644 | * if purge_outstanding_packets() was called with an argmument | 644 | * if purge_outstanding_packets() was called with an argument |
645 | * we delete only packets belonging to the given interface | 645 | * we delete only packets belonging to the given interface |
646 | */ | 646 | */ |
647 | if ((hard_iface) && | 647 | if ((hard_iface) && |