summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wpi.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-08-03 18:26:26 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-08-03 18:26:26 +0000
commit4238ae5ce04e5ffc9016a116ff9c86afc5b4fae3 (patch)
tree1de82e8cc17eef3498c7e636d5566411b3d4457d /sys/dev/pci/if_wpi.c
parent29cae850ecb39723c562b2f4a747e10625dee248 (diff)
Bring the suspend/resume code of all the Intel wireless drivers in line with
iwn(4) again. ok deraadt@
Diffstat (limited to 'sys/dev/pci/if_wpi.c')
-rw-r--r--sys/dev/pci/if_wpi.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c
index 46cb8514d1c..ee754fda4cf 100644
--- a/sys/dev/pci/if_wpi.c
+++ b/sys/dev/pci/if_wpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wpi.c,v 1.103 2010/07/28 21:21:38 deraadt Exp $ */
+/* $OpenBSD: if_wpi.c,v 1.104 2010/08/03 18:26:25 kettenis Exp $ */
/*-
* Copyright (c) 2006-2008
@@ -438,11 +438,8 @@ wpi_power(int why, void *arg)
s = splnet();
sc->sc_flags |= WPI_FLAG_BUSY;
- if (ifp->if_flags & IFF_UP) {
- ifp->if_init(ifp);
- if (ifp->if_flags & IFF_RUNNING)
- ifp->if_start(ifp);
- }
+ if (ifp->if_flags & IFF_UP)
+ wpi_init(ifp);
sc->sc_flags &= ~WPI_FLAG_BUSY;
splx(s);