bonding: simplify / unify event handling code for 3ad mode.
authorMahesh Bandewar <maheshb@google.com>
Sat, 31 Oct 2015 19:45:11 +0000 (12:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2015 03:52:24 +0000 (22:52 -0500)
commit52bc67168109ade61014a36feedf09f4bc53d8f1
tree48a4bb01acaecc60bd9d87c2dd4c4959e926b59e
parent7bb11dc9f59ddcb33ee317da77b235235aaa582a
bonding: simplify / unify event handling code for 3ad mode.

Old logic of updating state-machine is not required since
ad_update_actor_keys() does it implicitly. The only loss is
the notification differentiation between speed vs. duplex
change. Now only one unified notification is printed.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_main.c
include/net/bond_3ad.h