r8169: fix a bug in rtl8169_init_phy()
commitb26fa4e0275426450238a14158bc1db24bb696e6
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 19 Mar 2011 05:39:11 +0000 (19 05:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Mar 2011 20:39:33 +0000 (19 13:39 -0700)
tree6a854f2c69c8d5c56671e00f5bbec5e30a00abeb
parentdadaa10b077133e5c03333131b82ecb13679af2b
r8169: fix a bug in rtl8169_init_phy()

commit 54405cde7624 (r8169: support control of advertising.)
introduced a bug in rtl8169_init_phy()

Reported-by: Piotr Hosowicz <piotr@hosowicz.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Oliver Neukum <oliver@neukum.org>
Cc: Francois Romieu <romieu@fr.zoreil.com>
Tested-by: Anca Emanuel <anca.emanuel@gmail.com>
Tested-by: Piotr Hosowicz <piotr@hosowicz.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c