]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qede: Don't report link change needlessly
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Wed, 24 Feb 2016 14:52:47 +0000 (16:52 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 19:29:10 +0000 (12:29 -0700)
commite6a00075a1936217b141bf04836925ba01df248a
treebbdf471844797d21591af2bd0f0f2f3c791a8be7
parent583cb157181d1e7e97caa24f8cbee37fec8f0b0b
qede: Don't report link change needlessly

There are several corner cases where driver might get a 2nd notification
about the same link change. Don't log any additional changes if the
physical carrier is already reported as it should.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Orabug: 23732603
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/qlogic/qede/qede_main.c