diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2018-11-17 08:07:47 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-11-26 12:16:52 +0100 |
commit | e61812fd346c43edbb16e87e61ff1a2110ca8eeb (patch) | |
tree | 24f2ffb25eba30a12f86b856deaf346599b0457f /target/linux/ramips/base-files/etc/diag.sh | |
parent | ed25e3ac02d9193d7cba89563a88b8bccc4b4513 (diff) | |
download | upstream-e61812fd346c43edbb16e87e61ff1a2110ca8eeb.tar.gz upstream-e61812fd346c43edbb16e87e61ff1a2110ca8eeb.tar.bz2 upstream-e61812fd346c43edbb16e87e61ff1a2110ca8eeb.zip |
ar8216: add adjust_link checking
Driver crash when 'phydev->adjust_link' isn't provided.
This patch check if 'phydev->adjust_link' exist before
call the method.
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'target/linux/ramips/base-files/etc/diag.sh')
0 files changed, 0 insertions, 0 deletions