diff options
author | John Crispin <john@openwrt.org> | 2013-04-09 14:39:01 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-04-09 14:39:01 +0000 |
commit | fb47fd0d6b5b03eae3ad204265a398d32b422de0 (patch) | |
tree | 9fb69e26bce9726007ed3c4ffb93a79d76b429b3 /target/linux/generic/files/drivers | |
parent | 7ca7bc501e15282d4fac3719052731113afcece1 (diff) | |
download | mtk-20170518-fb47fd0d6b5b03eae3ad204265a398d32b422de0.zip mtk-20170518-fb47fd0d6b5b03eae3ad204265a398d32b422de0.tar.gz mtk-20170518-fb47fd0d6b5b03eae3ad204265a398d32b422de0.tar.bz2 |
unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36293
Diffstat (limited to 'target/linux/generic/files/drivers')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/swconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/swconfig.c b/target/linux/generic/files/drivers/net/phy/swconfig.c index 5e95ab3..4e6d713 100644 --- a/target/linux/generic/files/drivers/net/phy/swconfig.c +++ b/target/linux/generic/files/drivers/net/phy/swconfig.c @@ -987,7 +987,7 @@ of_switch_load_portmap(struct switch_dev *dev) const char *segment; int size, phys; - if (of_device_is_compatible(port, "swconfig,port")) + if (!of_device_is_compatible(port, "swconfig,port")) continue; if (of_property_read_string(port, "swconfig,segment", &segment)) |