r8169: adjust __rtl8169_set_features
authorhayeswang <hayeswang@realtek.com>
Tue, 16 Sep 2014 03:40:47 +0000 (11:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Sep 2014 19:55:53 +0000 (15:55 -0400)
commit929a031dfd62aae34bf8e728f712e6751e416d1f
tree8a16cb912fb040552d3f3bd1f5b226be14723acb
parent95cd6f488d164de462a8279e802a0ad05c33d167
r8169: adjust __rtl8169_set_features

Remove the "changed" test in __rtl8169_set_features(). Instead, do
simple test in rtl8169_set_features().

Set the RxChkSum and RxVlan through __rtl8169_set_features() in
rtl_open().

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c