From 2489007e7d740ccbc3e0a202914e243ad5178787 Mon Sep 17 00:00:00 2001 From: codeworkx Date: Sat, 22 Sep 2012 09:48:20 +0200 Subject: merge opensource jb u5 Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2 --- net/bluetooth/sco.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'net/bluetooth/sco.c') diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index d3d48b5..db9b289 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c @@ -890,6 +890,11 @@ static void sco_conn_ready(struct sco_conn *conn) bacpy(&bt_sk(sk)->src, conn->src); bacpy(&bt_sk(sk)->dst, conn->dst); + if (!conn->hcon) { + BT_ERR("conn->hcon = NULL"); + /* to do */ + } + hci_conn_hold(conn->hcon); __sco_chan_add(conn, sk, parent); -- cgit v1.1