On Monday 04 November 2013 20:59:40 Antonio Quartulli wrote:
From: Antonio Quartulli antonio@open-mesh.com
When switching from gw_mode client to either off or server the current selected gateway has to be deselected. In this way when client mode is enabled again a gateway re-election is forced and a GW_ADD event is consequently sent.
The current behaviour instead is to keep the current gateway leading to no GW_ADD event when gw_mode client is selected for a second time
Signed-off-by: Antonio Quartulli antonio@open-mesh.com
Patch 2/2:
- rename gw_deselect to gw_reselect in gw_client.h
Cheers,
gateway_client.c | 4 ++++ sysfs.c | 9 +++++++++ 2 files changed, 13 insertions(+)
Applied in revision 99a6eb5.
Thanks, Marek