1.13.
OK stsp@ jca@ claudio@
-/* $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 <mglocker@openbsd.org>
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)) {