diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-02-10 12:31:36 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-02-10 12:31:36 +0000 |
commit | eedc3554fe4b8161c8327efb0d40d095cf55874c (patch) | |
tree | ba617deb12a2c9a9990e431090ca317b50c2c7f4 /rules.mk | |
parent | 200359a52055687d1edbf71e90d63aab141fd2f5 (diff) | |
download | mtk-20170518-eedc3554fe4b8161c8327efb0d40d095cf55874c.zip mtk-20170518-eedc3554fe4b8161c8327efb0d40d095cf55874c.tar.gz mtk-20170518-eedc3554fe4b8161c8327efb0d40d095cf55874c.tar.bz2 |
generic: b53: fix reverted error check in probe
b53_switch_detect returns value returned by b53_read8, which is 0 for
success. So fail (and return error) only if b53_switch_detect returned
something else than 0. This fixes supported and advertising being zeros
for MDIO access.
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 35534
Diffstat (limited to 'rules.mk')
0 files changed, 0 insertions, 0 deletions