diff options
author | Mat Martineau <mathewm@codeaurora.org> | 2011-12-14 00:06:02 +0100 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-19 00:57:21 +0100 |
commit | 65983fc7bb8df655706cb6e8353b6561b633ee4d (patch) | |
tree | d1182dc788fdd644d0b8c949e48eb414570e27e9 /net/8021q | |
parent | Bluetooth: Simplify num_comp_pkts_evt function (diff) | |
download | linux-65983fc7bb8df655706cb6e8353b6561b633ee4d.tar.xz linux-65983fc7bb8df655706cb6e8353b6561b633ee4d.zip |
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>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions