aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-10 18:38:12 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-10 18:38:12 +0000
commit69cbfbe045fb8a0725411dfe5a7b890910bc6c67 (patch)
treefb79410de851697145cc1d384f02bd4457571d67 /target/linux/generic/files
parent77bc7d2f0789869a614b3220b6840597d596b5eb (diff)
downloadmaster-187ad058-69cbfbe045fb8a0725411dfe5a7b890910bc6c67.tar.gz
master-187ad058-69cbfbe045fb8a0725411dfe5a7b890910bc6c67.tar.bz2
master-187ad058-69cbfbe045fb8a0725411dfe5a7b890910bc6c67.zip
generic: ar8216: remove redundant phy address check
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35542 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r--target/linux/generic/files/drivers/net/phy/ar8216.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c
index f7ce0189f0..4c83a6f62a 100644
--- a/target/linux/generic/files/drivers/net/phy/ar8216.c
+++ b/target/linux/generic/files/drivers/net/phy/ar8216.c
@@ -1881,7 +1881,7 @@ ar8216_config_init(struct phy_device *pdev)
goto err_unregister_switch;
/* VID fixup only needed on ar8216 */
- if (chip_is_ar8216(priv) && pdev->addr == 0) {
+ if (chip_is_ar8216(priv)) {
dev->phy_ptr = priv;
dev->priv_flags |= IFF_NO_IP_ALIGN;
dev->eth_mangle_rx = ar8216_mangle_rx;