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
master
Gabor Juhos 2013-02-10 18:38:12 +00:00
parent 77bc7d2f07
commit 69cbfbe045
1 changed files with 1 additions and 1 deletions

View File

@ -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;