summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/diag.sh
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-08-31 07:52:00 +0200
committerMathias Kresin <dev@kresin.me>2017-09-08 21:52:38 +0200
commit096dff8fcdf4eeb0d94ea335b95a23b30f5d5f3d (patch)
treed08118b5c9a8c5e5afa862fdff40c5a804c143b6 /target/linux/ramips/base-files/etc/diag.sh
parent47be42c3476ee8b96f87688dc8f6571191e926ec (diff)
downloadmtk-20170518-096dff8fcdf4eeb0d94ea335b95a23b30f5d5f3d.zip
mtk-20170518-096dff8fcdf4eeb0d94ea335b95a23b30f5d5f3d.tar.gz
mtk-20170518-096dff8fcdf4eeb0d94ea335b95a23b30f5d5f3d.tar.bz2
kernel: rtl8306: fix port link status
In case the link changes from down to up, the register is only updated on read. If the link failed/was down, this bit will be 0 until after reading this bit again. Fixes a reported link down by swconfig alebit the link is up (query for the link again will show the correct link status) Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files/etc/diag.sh')
0 files changed, 0 insertions, 0 deletions