mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
bonding: Remove hardcoded initialization
Signed-off-by: Mahesh Bandewar <maheshb@google.com> Signed-off-by: Andy Gospodarek <gospo@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6e47d6caff
commit
19a12049cd
1 changed files with 1 additions and 1 deletions
|
@ -1776,7 +1776,7 @@ static void ad_initialize_port(struct port *port, int lacp_fast)
|
|||
|
||||
port->is_enabled = true;
|
||||
/* private parameters */
|
||||
port->sm_vars = 0x3;
|
||||
port->sm_vars = AD_PORT_BEGIN | AD_PORT_LACP_ENABLED;
|
||||
port->sm_rx_state = 0;
|
||||
port->sm_rx_timer_counter = 0;
|
||||
port->sm_periodic_state = 0;
|
||||
|
|
Loading…
Reference in a new issue