r8169: fix wrong register use.
authorFrancois Romieu <romieu@fr.zoreil.com>
Fri, 24 Jun 2011 17:52:13 +0000 (19:52 +0200)
committerFrancois Romieu <romieu@fr.zoreil.com>
Fri, 24 Jun 2011 17:52:13 +0000 (19:52 +0200)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Realtek linux nic maintainers <nic_swsd@realtek.com>
drivers/net/r8169.c

index 05d81780d1fdc5becc895e15fbcf86b695ce7392..5990621fb5cd3f401a0db5d30c8507b2b866cc9e 100644 (file)
@@ -742,7 +742,7 @@ static void rtl8168_oob_notify(struct rtl8169_private *tp, u8 cmd)
        msleep(2);
        for (i = 0; i < 5; i++) {
                udelay(100);
-               if (!(RTL_R32(ERIDR) & ERIAR_FLAG))
+               if (!(RTL_R32(ERIAR) & ERIAR_FLAG))
                        break;
        }