sio - Minor token fix for sio
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Aug 2010 05:18:08 +0000 (22:18 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Aug 2010 05:18:08 +0000 (22:18 -0700)
commit52fe5e2acd3e12a809e00d83bd089fbfc2258dec
treea7b879cf56ae5e3d39db21b32bf375e2d5a9c7a9
parenta3f156de2343d3f32949a5b9032e1a872d044ef1
sio - Minor token fix for sio

* comwakeup() can be called from a callout and thus must acquire
  tty_token itself instead of asserting that it is already held.

Reported-by: lentferj
sys/dev/serial/sio/sio.c