diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-05-12 19:11:50 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-05-14 17:56:15 (GMT) |
commit | 671267bf3aac3dae0555730b07ef29c042e325b2 (patch) | |
tree | 89ee980737493ce6247b3a454636e48bd488e1c7 /include | |
parent | a7d7723ae7c0178d715c06c5621e8fd8014ba92f (diff) | |
download | linux-fsl-qoriq-671267bf3aac3dae0555730b07ef29c042e325b2.tar.xz |
Bluetooth: mgmt: Fix device_connected sending order
The mgmt_ev_device_connected signal must be sent before any event
indications happen for sockets associated with the connection. Otherwise
e.g. device authorization for the sockets will fail with ENOTCONN as
user space things that there is no baseband link.
This patch fixes the issue by ensuring that the device_connected event
if sent (if it hasn't been so already) as soon as the first ACL data
packet arrives from the remote device.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions