Back out previous my previous change, it stops device resumption

entirely.
This commit is contained in:
dyoung 2007-12-13 09:17:43 +00:00
parent 4e2f6cc949
commit 3ccfb020a3
1 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ath.c,v 1.94 2007/12/13 09:04:39 dyoung Exp $ */
/* $NetBSD: ath.c,v 1.95 2007/12/13 09:17:43 dyoung Exp $ */
/*-
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@ -41,7 +41,7 @@
__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.104 2005/09/16 10:09:23 ru Exp $");
#endif
#ifdef __NetBSD__
__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.94 2007/12/13 09:04:39 dyoung Exp $");
__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.95 2007/12/13 09:17:43 dyoung Exp $");
#endif
/*
@ -948,9 +948,6 @@ ath_init(struct ath_softc *sc)
DPRINTF(sc, ATH_DEBUG_ANY, "%s: if_flags 0x%x\n",
__func__, ifp->if_flags);
if (!device_is_active(&sc->sc_dev))
return EBUSY;
ATH_LOCK(sc);
if ((error = ath_enable(sc)) != 0) {