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

map-agent: don't trigger search for onboarded radio

parent f5b7eb5d
No related branches found
No related tags found
No related merge requests found
...@@ -3227,6 +3227,13 @@ static void agent_dispatch_autoconfig(struct uloop_timeout *t) ...@@ -3227,6 +3227,13 @@ static void agent_dispatch_autoconfig(struct uloop_timeout *t)
struct cmdu_cstruct *cmdu; struct cmdu_cstruct *cmdu;
struct wifi_radio_element *radio = &a->radios[i]; struct wifi_radio_element *radio = &a->radios[i];
if (radio->onboarded) {
dbg("radio %s has been onboarded, don't trigger search\n",
radio->name);
continue;
}
cmdu = agent_gen_ap_autoconfig_search(a, radio, NULL, 0x02); cmdu = agent_gen_ap_autoconfig_search(a, radio, NULL, 0x02);
if (!cmdu) if (!cmdu)
continue; continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment