diff options
author | Antonio Quartulli <antonio@open-mesh.com> | 2013-11-04 20:59:41 +0100 |
---|---|---|
committer | Antonio Quartulli <antonio@meshcoding.com> | 2014-01-08 20:49:41 +0100 |
commit | 4e820e72db584e39c7d8699eb359d9a94eb837e3 (patch) | |
tree | 7964442e2f38d00ae5b3f52bca819da87ddb6553 /net/batman-adv/gateway_client.h | |
parent | batman-adv: deselect current GW on client mode switch off (diff) | |
download | linux-4e820e72db584e39c7d8699eb359d9a94eb837e3.tar.xz linux-4e820e72db584e39c7d8699eb359d9a94eb837e3.zip |
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>
Diffstat (limited to 'net/batman-adv/gateway_client.h')
-rw-r--r-- | net/batman-adv/gateway_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/gateway_client.h b/net/batman-adv/gateway_client.h index 43c88336d40f..514cff68890c 100644 --- a/net/batman-adv/gateway_client.h +++ b/net/batman-adv/gateway_client.h @@ -19,7 +19,7 @@ #define _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ void batadv_gw_check_client_stop(struct batadv_priv *bat_priv); -void batadv_gw_deselect(struct batadv_priv *bat_priv); +void batadv_gw_reselect(struct batadv_priv *bat_priv); void batadv_gw_election(struct batadv_priv *bat_priv); struct batadv_orig_node * batadv_gw_get_selected_orig(struct batadv_priv *bat_priv); |