OSDN Git Service

r8169: fix the default setting of rx vlan
authorhayeswang <hayeswang@realtek.com>
Fri, 12 Sep 2014 03:35:11 +0000 (11:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 20:52:44 +0000 (16:52 -0400)
commit48c20407f49039d8da155ca00877ec5f057799e6
tree5f97d3d48d3612e4bef012df3525d5b201a92932
parent618073e30c225ddaef086c030a5f0a3c7ef2d323
r8169: fix the default setting of rx vlan

If the parameter "features" of __rtl8169_set_features() is equal to
dev->features, the variable "changed" is alwayes 0, and nothing would
be changed.

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