Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177544550
D61158.1794676409.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
609 B
Referenced Files
None
Subscribers
None
D61158.1794676409.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 14, 5:13 PM (12 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41440640
Default Alt Text
D61158.1794676409.diff (609 B)
Attached To
Mode
D61158: ure: Initialize ifm_active in ure_ifmedia_sts
Attached
Detach File
Event Timeline