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

map-controller: discard ap-autoconfig search from self

parent a21d0fce
No related branches found
No related tags found
No related merge requests found
Pipeline #21540 failed
...@@ -210,6 +210,11 @@ int handle_ap_autoconfig_search(void *cntlr, struct cmdu_buff *rx_cmdu) ...@@ -210,6 +210,11 @@ int handle_ap_autoconfig_search(void *cntlr, struct cmdu_buff *rx_cmdu)
return -1; return -1;
} }
if (!memcmp(aladdr_origin, c->almac, 6)) {
trace("%s: Discard ap-autoconfig search from self\n", __func__);
return -1;
}
if (tv[1][0]->data[0] != IEEE80211_ROLE_REGISTRAR) { if (tv[1][0]->data[0] != IEEE80211_ROLE_REGISTRAR) {
trace("%s: Discard ap-autoconfig search for role != registrar\n", trace("%s: Discard ap-autoconfig search for role != registrar\n",
__func__); __func__);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment