Skip to content
Snippets Groups Projects
Commit 8f2be4ee authored by Filip Matusiak's avatar Filip Matusiak Committed by Jakob Olsson
Browse files

map-controller: do not query for beacons if steering disabled

parent 34e239d8
No related branches found
No related tags found
1 merge request!55map-controller: rebase bk-steer branch to devel
Pipeline #28567 failed
...@@ -824,6 +824,13 @@ int handle_sta_link_metrics_response(void *cntlr, struct cmdu_buff *cmdu) ...@@ -824,6 +824,13 @@ int handle_sta_link_metrics_response(void *cntlr, struct cmdu_buff *cmdu)
uint8_t wildcard[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; uint8_t wildcard[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
uint8_t *opclasses, num_opclasses; uint8_t *opclasses, num_opclasses;
if (!c->cfg.enable_sta_steer) {
trace("|%s:%d| rcpi below %d, but will not query for beacon \
metrics to steer as 'enable_sta_steer' not set!\n",
__func__, __LINE__, c->cfg.rcpi_threshold);
return 0;
}
dbg("%s %d band = %d\n", __func__, __LINE__, s->fh->band); dbg("%s %d band = %d\n", __func__, __LINE__, s->fh->band);
if (s->fh->band == BAND_5) { if (s->fh->band == BAND_5) {
num_opclasses = 4; num_opclasses = 4;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment