diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-08-27 18:44:33 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-30 03:17:53 (GMT) |
commit | 574746ddeca959cba407d6b556f96cb580fca8af (patch) | |
tree | e861c480ed7d5114b27f5e73e6fa3950b9ea2f2a /net/6lowpan | |
parent | 879ece6ecb2107ef1bbc3332cb2fea54c7d3a636 (diff) | |
download | linux-574746ddeca959cba407d6b556f96cb580fca8af.tar.xz |
net: phy: properly report internal PHYs through sysfs
Internal PHYs may not have a valid PHY interface defined, which will
show up in sysfs as "". Add an explicit check of internal PHYs to report
their interface correctly.
Fixes: 3d055d8d1c24 ("net: phy: expose PHY device interface mode")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/6lowpan')
0 files changed, 0 insertions, 0 deletions