On Sun, Oct 27, 2013 at 01:02:59PM +0100, Antonio Quartulli wrote:
From: Antonio Quartulli antonio@open-mesh.com
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
gateway_client.c | 35 +++++++++++++++++++++++------------ gateway_common.c | 2 +- sysfs.c | 10 +++++-----
The declaration of this function is in gw_client.h but I forgot to change it.
v2 will follow.
Cheers,