Hi,
Similar to the patch I just sent for smsc(4) this one also has a misplaced
parenthesis in an if-clause. NetBSD fixed this on rev 1.13.
OK?
Index: if_upgt.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/if_upgt.c,v
retrieving revision 1.81
diff -u -p -u -r1.81 if_upgt.c
--- if_upgt.c 26 Oct 2017 15:00:28 -0000 1.81
+++ if_upgt.c 24 Aug 2018 10:53:58 -0000
@@ -1233,7 +1233,7 @@ upgt_media_change(struct ifnet *ifp)
DPRINTF(1, "%s: %s\n", sc->sc_dev.dv_xname, __func__);
- if ((error = ieee80211_media_change(ifp) != ENETRESET))
+ if ((error = ieee80211_media_change(ifp)) != ENETRESET)
return (error);
if (ifp->if_flags & (IFF_UP | IFF_RUNNING)) {