With r290566 in place it turned out that WOL previously only worked by
authormarius <marius@FreeBSD.org>
Mon, 16 Nov 2015 21:13:57 +0000 (21:13 +0000)
committermarius <marius@FreeBSD.org>
Mon, 16 Nov 2015 21:13:57 +0000 (21:13 +0000)
commit5ccbac34122d16d3c38f868c00dd642509e4f190
tree8182b96cc22c156cb84bd8b2288a764720c925ec
parenteca8806ca223b223cfb8096ee948bc35fea9271f
With r290566 in place it turned out that WOL previously only worked by
accident with RTL8168G and later chips when the interface actually was
brought up. This is due to the fact that with these MAC variants, RXDV
gate needs be disabled for WOL to work. So do just that in re_setwol()
when IFCAP_WOL is requested.
Reported and tested by: dhw

MFC after: 3 days
sys/dev/re/if_re.c