OSDN Git Service

usb: fix crashing if no Bluetooth adapter found android-x86-4.4-r2
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sun, 21 Dec 2014 04:02:06 +0000 (12:02 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 27 Dec 2014 12:12:25 +0000 (20:12 +0800)
commite8f1157bd5fef9615ef0214f186d16284b17058f
tree26af62aadd17e1ca46b036b9534ac9dacc0db853
parent3014db38dfd3ce589ce041d96771a7cae793edef
usb: fix crashing if no Bluetooth adapter found

The usb_write works on a null usb.handle that
causes the crashing.
hci/src/usb.c