projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d09b966
)
iwn - Lock iwn_timer_timeout callback.
author
Joe Talbott <josepht@dragonflybsd.org>
Sun, 18 Jul 2010 23:16:29 +0000 (19:16 -0400)
committer
Joe Talbott <josepht@dragonflybsd.org>
Mon, 19 Jul 2010 17:46:28 +0000 (13:46 -0400)
sys/dev/netif/iwn/if_iwn.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/dev/netif/iwn/if_iwn.c
b/sys/dev/netif/iwn/if_iwn.c
index
63479f2
..
a7ad6d2
100644
(file)
--- a/
sys/dev/netif/iwn/if_iwn.c
+++ b/
sys/dev/netif/iwn/if_iwn.c
@@
-2005,7
+2005,7
@@
iwn_timer_timeout(void *arg)
struct iwn_softc *sc = arg;
uint32_t flags = 0;
- IWN_LOCK_ASSERT(sc);
+ IWN_LOCK(sc);
if (sc->calib_cnt && --sc->calib_cnt == 0) {
DPRINTF(sc, IWN_DEBUG_CALIBRATE, "%s\n",
@@
-2016,6
+2016,7
@@
iwn_timer_timeout(void *arg)
}
iwn_watchdog(sc); /* NB: piggyback tx watchdog */
callout_reset(&sc->sc_timer_to, hz, iwn_timer_timeout, sc);
+ IWN_UNLOCK(sc);
}
static void