Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci stop the calibration timeout when stopping the i...
details: https://anonhg.NetBSD.org/src/rev/a875f575a4fe
branches: trunk
changeset: 336518:a875f575a4fe
user: nonaka <nonaka%NetBSD.org@localhost>
date: Wed Mar 04 16:55:11 2015 +0000
description:
stop the calibration timeout when stopping the interface.
>From OpenBSD rev.1.35.
diffstat:
sys/dev/pci/if_iwm.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 20266b2c2ff6 -r a875f575a4fe sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Wed Mar 04 16:53:32 2015 +0000
+++ b/sys/dev/pci/if_iwm.c Wed Mar 04 16:55:11 2015 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: if_iwm.c,v 1.25 2015/03/04 16:53:32 nonaka Exp $ */
-/* OpenBSD: if_iwm.c,v 1.34 2015/03/03 20:14:34 kettenis Exp */
+/* $NetBSD: if_iwm.c,v 1.26 2015/03/04 16:55:11 nonaka Exp $ */
+/* OpenBSD: if_iwm.c,v 1.35 2015/03/04 15:18:12 jsg Exp */
/*
* Copyright (c) 2014 genua mbh <info%genua.de@localhost>
@@ -105,7 +105,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.25 2015/03/04 16:53:32 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.26 2015/03/04 16:55:11 nonaka Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -5849,6 +5849,7 @@
if (ic->ic_state != IEEE80211_S_INIT)
ieee80211_new_state(ic, IEEE80211_S_INIT, -1);
+ callout_stop(&sc->sc_calib_to);
ifp->if_timer = sc->sc_tx_timer = 0;
iwm_stop_device(sc);
}
Home |
Main Index |
Thread Index |
Old Index