ucom - Hack unref to fix infinite 1-second wait loop.
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 23 Aug 2014 17:57:13 +0000 (10:57 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 23 Aug 2014 17:57:13 +0000 (10:57 -0700)
commitc01d52185208015b77b752bcde65090085ab4fa4
tree7f173b5326b28f64de12ec151f726718c0034a3a
parent799312a2b6e22a583d98633ea6b62146afa8eb45
ucom - Hack unref to fix infinite 1-second wait loop.

* ucom depended on the .tsw_* switch to decomission ports, which we do
  not use currently.  This was preventing the ucom from being properly
  dereferenced and resulted in an infinite 1-second wait loop on close.

* Move the unref elsewhere to hopefully solve the problem.
sys/bus/u4b/serial/usb_serial.c