artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8957832
)
fix cmalo_media_change() test
author
jsg
<jsg@openbsd.org>
Mon, 14 Feb 2022 23:02:15 +0000
(23:02 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 14 Feb 2022 23:02:15 +0000
(23:02 +0000)
ok claudio@ deraadt@
sys/dev/pcmcia/if_malo.c
patch
|
blob
|
history
diff --git
a/sys/dev/pcmcia/if_malo.c
b/sys/dev/pcmcia/if_malo.c
index
409ba82
..
755ac99
100644
(file)
--- a/
sys/dev/pcmcia/if_malo.c
+++ b/
sys/dev/pcmcia/if_malo.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_malo.c,v 1.9
7 2022/01/09 05:42:58
jsg Exp $ */
+/* $OpenBSD: if_malo.c,v 1.9
8 2022/02/14 23:02:15
jsg Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
@@
-742,7
+742,7
@@
cmalo_media_change(struct ifnet *ifp)
{
int error;
- if ((error = ieee80211_media_change(ifp)
!= ENETRESET)
)
+ if ((error = ieee80211_media_change(ifp)
) != ENETRESET
)
return (error);
if (ifp->if_flags & (IFF_UP | IFF_RUNNING))