]> Pileus Git - ~andy/linux/commit
batman-adv: rename gw_deselect() to gw_reselect()
authorAntonio Quartulli <antonio@open-mesh.com>
Mon, 4 Nov 2013 19:59:41 +0000 (20:59 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 8 Jan 2014 19:49:41 +0000 (20:49 +0100)
commit4e820e72db584e39c7d8699eb359d9a94eb837e3
tree7964442e2f38d00ae5b3f52bca819da87ddb6553
parentf3163181573f3dea264c5ffd578c187aef898bbb
batman-adv: rename gw_deselect() to gw_reselect()

The function batadv_gw_deselect() is actually not deselecting
anything. It is just informing the GW code to perform a
re-election procedure when possible.
The current gateway is not being touched at all and therefore
the name of this function is rather misleading.

Rename it to batadv_gw_reselect() to batadv_gw_reselect()
to make its behaviour easier to grasp.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/gateway_client.c
net/batman-adv/gateway_client.h
net/batman-adv/gateway_common.c
net/batman-adv/sysfs.c