Page MenuHomeFreeBSD

D61158.1794676771.diff
No OneTemporary

Authored By
Unknown
Size
609 B
Referenced Files
None
Subscribers
None

D61158.1794676771.diff

diff --git a/sys/dev/usb/net/if_ure.c b/sys/dev/usb/net/if_ure.c
--- a/sys/dev/usb/net/if_ure.c
+++ b/sys/dev/usb/net/if_ure.c
@@ -1439,6 +1439,7 @@
sc = if_getsoftc(ifp);
if (sc->sc_flags & (URE_FLAG_8156 | URE_FLAG_8156B)) {
URE_LOCK(sc);
+ ifmr->ifm_active = IFM_ETHER;
ifmr->ifm_status = IFM_AVALID;
if (ure_get_link_status(sc)) {
ifmr->ifm_status |= IFM_ACTIVE;
@@ -1457,6 +1458,8 @@
ifmr->ifm_active |= IFM_1000_T;
else if (status & URE_PHYSTATUS_2500MBPS)
ifmr->ifm_active |= IFM_2500_T;
+ } else {
+ ifmr->ifm_active |= IFM_NONE;
}
URE_UNLOCK(sc);
return;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 14, 5:19 PM (11 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41440640
Default Alt Text
D61158.1794676771.diff (609 B)

Event Timeline