-
由 Marcel Holtmann 提交于
Normally a serial Bluetooth device is opened, TIOSETD'ed to N_HCI line discipline, HCIUARTSETPROTO'ed and finally closed. In case the device fails to HCIUARTSETPROTO, closing it produces a NULL pointer dereference. Signed-off-by: NOhad Ben-Cohen <ohad@bencohen.org> Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
22ad4203