linux/net/bluetooth
Mat Martineau 65983fc7bb Bluetooth: Incoming ACL packets do not force active mode
Incoming sk_buffs always have bt_cb(skb)->force_active set to 0, so
it's misleading to use that value from the control block when calling
hci_conn_enter_active_mode() for incoming data. The destination socket
is not known in the HCI layer, so the force_active setting for each
socket isn't known either. Hard-coding the force_active parameter does
not change any behavior, but makes it obvious that incoming ACL data
never exits sniff mode.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2011-12-18 21:57:21 -02:00
..
bnep Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth 2011-12-03 08:26:25 +09:00
cmtp Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth 2011-12-03 08:26:25 +09:00
hidp Bluetooth: Replace spin_lock by mutex in hci_dev 2011-12-18 17:07:54 -02:00
rfcomm Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2011-11-09 14:54:33 -05:00
af_bluetooth.c Bluetooth: Handle fragmented skbs in bt_sock_stream_recvmsg() 2011-09-27 18:16:07 -03:00
hci_conn.c Bluetooth: Don't disable tasklets to call hdev->notify() 2011-12-18 17:07:57 -02:00
hci_core.c Bluetooth: Incoming ACL packets do not force active mode 2011-12-18 21:57:21 -02:00
hci_event.c Bluetooth: Simplify num_comp_pkts_evt function 2011-12-18 21:35:26 -02:00
hci_sock.c Bluetooth: Remove mgmt_set_service_cache 2011-12-18 17:37:26 -02:00
hci_sysfs.c Bluetooth: Remove work_add and work_del from hci_sysfs 2011-12-18 17:07:58 -02:00
Kconfig bluetooth: uses crypto interfaces, select CRYPTO 2011-06-27 15:09:39 -04:00
l2cap_core.c Bluetooth: Add ProFUSION's copyright 2011-12-18 17:07:59 -02:00
l2cap_sock.c Bluetooth: Add ProFUSION's copyright 2011-12-18 17:07:59 -02:00
lib.c Bluetooth: Add bt_printk 2011-06-30 19:17:12 -03:00
Makefile Bluetooth: Implement the first SMP commands 2011-06-13 15:11:55 -03:00
mgmt.c Bluetooth: Use correct struct for user_confirm_neg_reply 2011-12-18 17:43:19 -02:00
sco.c Bluetooth: Replace spin_lock by mutex in hci_dev 2011-12-18 17:07:54 -02:00
smp.c Bluetooth: Centralize SMP pairing failure handling 2011-12-01 22:54:37 +09:00