diff --git a/src/steer.c b/src/steer.c index abf6895f46a20b2737a5acb9cd267e1580c9680a..c9b6df83238c829218d254032202a4a9a1223ad7 100644 --- a/src/steer.c +++ b/src/steer.c @@ -426,6 +426,7 @@ void cntlr_update_sta_steer_data(struct controller *c, struct sta *s) memcpy(t->bssid, p->bss->bssid, 6); memcpy(t->agent, n->almacaddr, 6); + memcpy(t->ruid, r->radio_el->macaddr, 6); t->opclass = opclass; t->channel = ctrl_channel; ss->num_nbr++; diff --git a/src/steer_module.h b/src/steer_module.h index a1c8e80f700bbc819a56bf09fa1e4b96ed3ffcb5..e12a058eec65653480ab88e970f4c82961dd1383 100644 --- a/src/steer_module.h +++ b/src/steer_module.h @@ -62,6 +62,7 @@ typedef enum steer_mode steer_mode_t; /* Represent a fBSS neighbor in the network */ struct steer_sta_target_bss { uint8_t bssid[6]; + uint8_t ruid[6]; uint8_t opclass; /* operating opclass */ uint8_t channel; /* beacon channel (20MHz) */ uint8_t agent[6]; /* agent AL-macaddress this bss belongs to */