summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-08-11 22:06:38 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-08-14 08:49:22 +0200
commit4befb867b9de8adc56c683f4cf6c9e6c035e94e3 (patch)
treeb3b009cad24b75f82e11a46024e9c1ff506b9854 /kernel/sysctl_binary.c
parentdec5b49235e2526d7aacf5b93ea48f5e30c2f7c3 (diff)
Bluetooth: Call l2cap_conn_shutdown() when SMP recv callback fails
To restore pre-l2cap_chan functionality we should be trying to disconnect the connection when receviving garbage SMP data (i.e. when the SMP command handler fails). This patch renames the command handler back to smp_sig_channel() and adds a smp_recv_cb() wrapper function for calling it. If smp_sig_channel() fails the code calls l2cap_conn_shutdown(). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions