summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/arch/mips/fw
diff options
context:
space:
mode:
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-10 12:31:36 +0000
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-02-10 12:31:36 +0000
commitaddb9c5102df6a3fc8fa7f404f98d4f112b12073 (patch)
tree549579c37c300af409ec81ac222d377ab8881d5f /target/linux/generic/files/arch/mips/fw
parentf0cbc4388322fc00190fa689b6da79f65e955b21 (diff)
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35534 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/arch/mips/fw')
0 files changed, 0 insertions, 0 deletions