]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: use rtl8169_set_features in rtl8169_init_one
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 18 Apr 2020 21:10:03 +0000 (23:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Apr 2020 03:20:11 +0000 (20:20 -0700)
commitaa6a5540bafee1cf25685658b0b0fbcfaa9481e9
treed5b373e7eba27179b158d48f68efe8ef92353ad8
parentd355862ffe89181e599ee58f98712602b33ca1f3
r8169: use rtl8169_set_features in rtl8169_init_one

At that place in rtl_init_one() we can safely use rtl8169_set_features()
to configure the chip according to the default features.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c