From: Johan Hedberg Date: Wed, 18 Feb 2015 12:53:57 +0000 (+0200) Subject: Bluetooth: Convert connect_cfm to be triggered through hci_cb X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~375^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=539c496d88f7f96d42abde4e9d901c8f8167d615;p=pandora-kernel.git Bluetooth: Convert connect_cfm to be triggered through hci_cb This patch moves all the connect_cfm callbacks to be based on the hci_cb list. This means making l2cap_connect_cfm private to l2cap_core.c and sco_connect_cb private to sco.c respectively. Since the hci_conn type filtering isn't done any more on the wrapper level the callbacks themselves need to check that they were passed a relevant type of connection. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed