From patchwork Sun Feb 20 17:26:46 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonio Ospite X-Patchwork-Id: 575971 X-Patchwork-Delegate: jikos@jikos.cz Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1KHR9vd016009 for ; Sun, 20 Feb 2011 17:27:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754607Ab1BTR1J (ORCPT ); Sun, 20 Feb 2011 12:27:09 -0500 Received: from smtp207.alice.it ([82.57.200.103]:43340 "EHLO smtp207.alice.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754579Ab1BTR1I (ORCPT ); Sun, 20 Feb 2011 12:27:08 -0500 Received: from jcn (87.10.137.95) by smtp207.alice.it (8.5.124.08) id 4C9E16C90C29326C; Sun, 20 Feb 2011 18:27:06 +0100 Received: from ao2 by jcn with local (Exim 4.72) (envelope-from ) id 1PrD3n-000544-JQ; Sun, 20 Feb 2011 18:27:03 +0100 From: Antonio Ospite To: linux-input@vger.kernel.org Cc: Antonio Ospite , linux-bluetooth@vger.kernel.org, Jiri Kosina , Marcel Holtmann , "Gustavo F. Padovan" , Bastien Nocera , Alan Ott , Jim Paris , "pascal@pabr.org" Subject: [PATCH 2/2] bt hidp: send Output reports using SET_REPORT on the Control channel Date: Sun, 20 Feb 2011 18:26:46 +0100 Message-Id: <1298222806-19433-3-git-send-email-ospite@studenti.unina.it> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1298222806-19433-1-git-send-email-ospite@studenti.unina.it> References: <1298222806-19433-1-git-send-email-ospite@studenti.unina.it> X-Face: z*RaLf`X<@C75u6Ig9}{oW$H; 1_\2t5)({*|jhM/Vb; ]yA5\I~93>J<_`<4)A{':UrE Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 20 Feb 2011 17:27:10 +0000 (UTC) diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index 6df8ea1..3c036b0 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c @@ -405,7 +405,7 @@ static int hidp_output_raw_report(struct hid_device *hid, unsigned char *data, s report_type = HIDP_TRANS_SET_REPORT | HIDP_DATA_RTYPE_FEATURE; break; case HID_OUTPUT_REPORT: - report_type = HIDP_TRANS_DATA | HIDP_DATA_RTYPE_OUPUT; + report_type = HIDP_TRANS_SET_REPORT | HIDP_DATA_RTYPE_OUPUT; break; default: return -EINVAL;