Skip to content
Snippets Groups Projects
Commit d543e72a authored by Jakob Olsson's avatar Jakob Olsson
Browse files

cntlr_map: redundent setting of dest

parent 498dc639
Branches
No related tags found
No related merge requests found
Pipeline #20336 failed
......@@ -252,8 +252,6 @@ int handle_ap_autoconfig_search(void *cntlr, struct cmdu_buff *rec_cmdu)
}
}
if (c->state == CNTLR_INIT) {
trace("Disable and exit\n");
set_value_by_string("mapcontroller", "controller", "enabled", "0",
......@@ -276,8 +274,6 @@ int handle_ap_autoconfig_search(void *cntlr, struct cmdu_buff *rec_cmdu)
if (!cmdu)
return -1;
memcpy(cmdu->origin, aladdr_origin, 6);
ret = send_cmdu(c, cmdu);
cmdu_free(cmdu);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment