Skip to content
Snippets Groups Projects
Commit eedc3554 authored by Jonas Gorski's avatar Jonas Gorski
Browse files

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: default avatarRafał Miłecki <zajec5@gmail.com>

SVN-Revision: 35534
parent 200359a5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment