summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtw.c
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2005-05-27 18:57:20 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2005-05-27 18:57:20 +0000
commitfa161475baff484beb7cc471d504f6ccafa77c52 (patch)
treeb2e24432bd2cc6a89f0ee47a19251d3b693000cb /sys/dev/ic/rtw.c
parent1a896445c7694d2ce95289d51e5b56d7af4632e9 (diff)
make sure to enable socket on resume.
in order for the enable to work disable the socket on suspend. lot of help from mickey@ ok jsg@ millert@
Diffstat (limited to 'sys/dev/ic/rtw.c')
-rw-r--r--sys/dev/ic/rtw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c
index 3021736b225..609406e2f4b 100644
--- a/sys/dev/ic/rtw.c
+++ b/sys/dev/ic/rtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtw.c,v 1.27 2005/05/23 23:14:30 jsg Exp $ */
+/* $OpenBSD: rtw.c,v 1.28 2005/05/27 18:57:18 robert Exp $ */
/* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */
/*-
* Copyright (c) 2004, 2005 David Young. All rights reserved.
@@ -3289,7 +3289,7 @@ rtw_power(int why, void *arg)
/* XXX do nothing. */
break;
case PWR_SUSPEND:
- rtw_stop(ifp, 0);
+ rtw_stop(ifp, 1);
if (sc->sc_power != NULL)
(*sc->sc_power)(sc, why);
break;