projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e47d6c
)
bonding: Remove hardcoded initialization
author
Mahesh Bandewar
<maheshb@google.com>
Sat, 28 Mar 2015 05:34:31 +0000
(22:34 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 31 Mar 2015 17:25:39 +0000
(13:25 -0400)
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>
drivers/net/bonding/bond_3ad.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bonding/bond_3ad.c
b/drivers/net/bonding/bond_3ad.c
index f61b2870cddfbb8d82fb914194665b2d4c782e36..80861b1e4f095b146b8cadc02ee020cddd94a8dc 100644
(file)
--- a/
drivers/net/bonding/bond_3ad.c
+++ b/
drivers/net/bonding/bond_3ad.c
@@
-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;