diff options
author | Sven Eckelmann <sven@narfation.org> | 2017-04-01 14:47:03 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2017-04-03 12:57:06 +0200 |
commit | 2f249e99c7cda7107ac52f0319c89bed9a6431d3 (patch) | |
tree | 7586d833cbe486235763439fbea292ed1039bd81 /fs/nfs/fscache.c | |
parent | e2d9ba43559e5fcd94a365ba86718332737b0817 (diff) |
batman-adv: Use ethtool helper to get link status
The ethtool_ops of batman-adv never contained more than a stub for the
get_link function pointer. It was always returning that a link exists even
when the devices was not yet up and therefore nothing resampling a link
could have been available.
Instead use the ethtool helper which returns the current carrier state.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Acked-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'fs/nfs/fscache.c')
0 files changed, 0 insertions, 0 deletions