net: gptp: add missing stepsRemoved assignment
The stepsRemoved of masterPriorityVector was left unassigned when the best_port is not itself. Signed-off-by: Yusuke Omae <s1413091@gmail.com>
This commit is contained in:
parent
d37ec5136b
commit
bd432c2727
@ -1747,6 +1747,7 @@ static void update_bmca(int port,
|
||||
bmca_data->master_priority.port_number = htons(port);
|
||||
bmca_data->master_priority.src_port_id.port_number =
|
||||
htons(port);
|
||||
bmca_data->master_priority.steps_removed = gm_prio->steps_removed;
|
||||
}
|
||||
|
||||
switch (bmca_data->info_is) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user