diff options
-rw-r--r-- | sys/dev/pci/if_wb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wb.c b/sys/dev/pci/if_wb.c index 3bda4db2e8d..9ca33771bb2 100644 --- a/sys/dev/pci/if_wb.c +++ b/sys/dev/pci/if_wb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wb.c,v 1.69 2017/07/13 17:45:00 naddy Exp $ */ +/* $OpenBSD: if_wb.c,v 1.70 2019/04/01 06:01:07 naddy Exp $ */ /* * Copyright (c) 1997, 1998 @@ -660,7 +660,7 @@ wb_fixmedia(sc) if (IFM_SUBTYPE(mii->mii_media_active) == IFM_10_T) { media = mii->mii_media_active & ~IFM_10_T; media |= IFM_100_TX; - } if (IFM_SUBTYPE(mii->mii_media_active) == IFM_100_TX) { + } else if (IFM_SUBTYPE(mii->mii_media_active) == IFM_100_TX) { media = mii->mii_media_active & ~IFM_100_TX; media |= IFM_10_T; } else |