mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 17:40:04 +00:00
r8169: fix wrong register use.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Realtek linux nic maintainers <nic_swsd@realtek.com>
This commit is contained in:
parent
5c18e80be9
commit
1e4e82baee
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue