mirror of
https://github.com/Telecominfraproject/wlan-ucentral-client.git
synced 2026-01-27 10:23:38 +00:00
send a success message if the config had already been applied.
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
4
config.c
4
config.c
@@ -51,8 +51,10 @@ config_load(const char *path)
|
||||
static void
|
||||
config_apply(uint32_t id)
|
||||
{
|
||||
if (uuid_latest && (uuid_latest == uuid_applied))
|
||||
if (uuid_latest && (uuid_latest == uuid_applied)) {
|
||||
configure_reply(0, "Already applied.", uuid_latest, id);
|
||||
return;
|
||||
}
|
||||
ULOG_INFO("applying cfg:%ld\n", uuid_latest);
|
||||
apply_run(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user