b7e98b5100
Checking only for sco_conn seems to not be enough and lead to NULL
dereferences in the code, check for hcon instead.
<1>[11340.226404] BUG: unable to handle kernel NULL pointer dereference at
|
||
---|---|---|
.. | ||
bnep | ||
cmtp | ||
hidp | ||
rfcomm | ||
Kconfig | ||
Makefile | ||
a2mp.c | ||
af_bluetooth.c | ||
amp.c | ||
hci_conn.c | ||
hci_core.c | ||
hci_event.c | ||
hci_sock.c | ||
hci_sysfs.c | ||
l2cap_core.c | ||
l2cap_sock.c | ||
lib.c | ||
mgmt.c | ||
sco.c | ||
smp.c |