From d5f4533096545eedb05ab4e0d49a1197a298062d Mon Sep 17 00:00:00 2001 From: mestre Date: Sat, 25 Aug 2018 17:07:20 +0000 Subject: [PATCH] fix misplaced parenthesis inside an if-clause. already fixed in NetBSD in rev 1.13. OK stsp@ jca@ claudio@ --- sys/dev/usb/if_upgt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/if_upgt.c b/sys/dev/usb/if_upgt.c index 2731503b671..32b72e98c7b 100644 --- a/sys/dev/usb/if_upgt.c +++ b/sys/dev/usb/if_upgt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_upgt.c,v 1.81 2017/10/26 15:00:28 mpi Exp $ */ +/* $OpenBSD: if_upgt.c,v 1.82 2018/08/25 17:07:20 mestre Exp $ */ /* * Copyright (c) 2007 Marcus Glocker @@ -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)) { -- 2.20.1