aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/soft-interface.c
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2011-07-09 11:52:13 -0400
committerMarek Lindner <lindner_marek@yahoo.de>2011-08-22 09:16:19 -0400
commit015758d00251a4dd9287806cdab4b9c1298f97ed (patch)
treef7569640da23701bc5c391afc1033cf89e1626aa /net/batman-adv/soft-interface.c
parent1a1f37d9257a4792ca17b28b1c2e4ad15fe95b28 (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/soft-interface.c')
-rw-r--r--net/batman-adv/soft-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index 3e2f91ffa4e2..6ba35a2772ff 100644
--- a/net/batman-adv/soft-interface.c
+++ b/net/batman-adv/soft-interface.c
@@ -532,7 +532,7 @@ static int interface_set_mac_addr(struct net_device *dev, void *p)
532 if (!is_valid_ether_addr(addr->sa_data)) 532 if (!is_valid_ether_addr(addr->sa_data))
533 return -EADDRNOTAVAIL; 533 return -EADDRNOTAVAIL;
534 534
535 /* only modify transtable if it has been initialised before */ 535 /* only modify transtable if it has been initialized before */
536 if (atomic_read(&bat_priv->mesh_state) == MESH_ACTIVE) { 536 if (atomic_read(&bat_priv->mesh_state) == MESH_ACTIVE) {
537 tt_local_remove(bat_priv, dev->dev_addr, 537 tt_local_remove(bat_priv, dev->dev_addr,
538 "mac address changed", false); 538 "mac address changed", false);