Page MenuHomeFreeBSD

D61158.1794677914.diff
No OneTemporary

Authored By
Unknown
Size
639 B
Referenced Files
None
Subscribers
None

D61158.1794677914.diff

Index: sys/dev/usb/net/if_ure.c
===================================================================
--- sys/dev/usb/net/if_ure.c
+++ 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:38 PM (12 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41694722
Default Alt Text
D61158.1794677914.diff (639 B)

Event Timeline