From: Mat Martineau Date: Tue, 13 Dec 2011 23:06:02 +0000 (-0800) Subject: Bluetooth: Incoming ACL packets do not force active mode X-Git-Tag: v3.3-rc1~182^2~44^2~71^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65983fc7bb8df655706cb6e8353b6561b633ee4d;p=pandora-kernel.git 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 Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed