On Fri, Aug 24 2018, Ricardo Mestre <[email protected]> wrote:
> 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?

ok jca@

> 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)) {
>

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to