zephyr/subsys
Szymon Janc ba2adb70b2 Bluetooth: L2CAP: Fix use of uninitializer pointer
l2cap_br_conn_req_reply expects valid bt_l2cap_chan pointer but this
is achieved only on accept() callback. Use l2cap_br_send_conn_rsp
instead for rejecting cases where no channel was accepted. This also
makes success path being 'primary' function path ie erros all always
handled inside if() statements.

Jira: ZEP-1405

Change-Id: I890b4fcf029afce65eba4f2ebae0b1094feb007f
Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
2016-12-24 08:42:15 +02:00
..
bluetooth Bluetooth: L2CAP: Fix use of uninitializer pointer 2016-12-24 08:42:15 +02:00
debug debug: gdb: move to new kernel APIs 2016-12-19 14:59:35 -05:00
fs fs/disk: Improve code readability 2016-12-05 02:46:52 +00:00
logging logging: move sys_log to subsys/logging 2016-12-19 19:58:39 +00:00
net net/utils: Use the right data-type 2016-12-21 12:54:50 +00:00
usb arch/arc, usb, ztest: Add the ARG_UNUSED macro 2016-12-21 12:54:54 +00:00
Kconfig debug: move debug features from misc to subsys/debug 2016-12-19 19:58:40 +00:00
Makefile debug: move debug features from misc to subsys/debug 2016-12-19 19:58:40 +00:00