We were going to active mode during rx processing which
defeats the purpose of force_active parameter for HID devices.
Based on a report and discussion with Leijun Tao <L.J.Tao@motorola.com>
Change-Id: Ia43682c12795cf2cbd97df2a97e6b3e6cc6dfb34
Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
if (conn) {
register struct hci_proto *hp;
- hci_conn_enter_active_mode(conn, 1);
+ hci_conn_enter_active_mode(conn, bt_cb(skb)->force_active);
/* Send to upper protocol */
if ((hp = hci_proto[HCI_PROTO_L2CAP]) && hp->recv_acldata) {