[Bluetooth] Fix another disconnect race
When the selecting of the alternate setting for the SCO audio support
fails, the hci_usb_disconnect() will dereference a NULL pointer. To
avoid this, the isoc_iface variable must be set before releasing the
interface and unset afterwards.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Showing
Please register or sign in to comment