Re: [PATCH] net: bluetooth: Replaced kzalloc and memcpy with kmemdup

2013-03-18 Thread Gustavo Padovan
Hi Alexandru, * Alexandru Gheorghiu [2013-03-16 16:07:10 +0200]: > Replaced calls to kzalloc followed by memcpy with a single call to kmemdup. > Patch found using coccinelle. > > Signed-off-by: Alexandru Gheorghiu > --- > net/bluetooth/a2mp.c |6 ++ > 1 file changed, 2 insertions(+),

Re: [PATCH] net: bluetooth: Use PTR_RET function

2013-03-18 Thread Gustavo Padovan
Hi Alexandru, * Alexandru Gheorghiu [2013-03-16 16:10:03 +0200]: > Used PTR_RET function instead of IS_ERR and PTR_ERR. > Patch found using coccinelle. > > Signed-off-by: Alexandru Gheorghiu > --- > net/bluetooth/hci_sysfs.c |4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Patch

Re: [PATCH] net: bluetooth: Replaced kzalloc and memcpy with kmemdup

2013-03-18 Thread Gustavo Padovan
Hi Alexandru, * Alexandru Gheorghiu [2013-03-17 07:16:50 +0200]: > Replaced calls to kzalloc followed by memcpy with a single call to kmemdup. > > Signed-off-by: Alexandru Gheorghiu > --- > net/bluetooth/a2mp.c |6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) Patch has been a

pull request: bluetooth 2013-03-18

2013-03-18 Thread Gustavo Padovan
Hi John, I put together 3 fixes intended for 3.9, there are support for two new devices and a NULL dereference fix in the SCO code. Please pull or let me know of any problem. Thanks! Gustavo --- The following changes since commit 94a32d10f47b637ae24b78b1ddc7ef0e8396fda4: Bluetooth: D

Re: [PATCH] bluetooth: use PTR_RET instead of IS_ERR + PTR_ERR

2013-03-18 Thread Gustavo Padovan
Hi Silviu, * Silviu Popescu [2013-03-18 20:13:50 +0200]: > On Mon, Mar 18, 2013 at 8:05 PM, Silviu Popescu > wrote: > > On Wed, Mar 13, 2013 at 11:31 AM, David Miller wrote: > >> From: Silviu-Mihai Popescu > >> Date: Tue, 12 Mar 2013 20:13:15 +0200 > >> > >>> @@ -590,10 +590,7 @@ int __init b

pull request: bluetooth-next 2013-02-01

2013-02-01 Thread Gustavo Padovan
for amp_mgr state Gustavo Padovan (1): Bluetooth: Fix uuid output in debugfs Johan Hedberg (36): Bluetooth: Fix missing command complete event for mgmt_confirm_name Bluetooth: Fix missing command complete for mgmt_load_long_term_keys Bluetooth: Fix checking for valid

Re: pull request: bluetooth-next 2013-02-01

2013-02-01 Thread Gustavo Padovan
Hi John, * Gustavo Padovan [2013-02-01 15:40:19 -0200]: > Hi John, > > Here goes another batch intended for 3.9, the majority of the patch here are > from Johan who is fixing many issues in the management interface that have > appeared lately. The rest of the patches

pull request: bluetooth 2013-02-01

2013-02-01 Thread Gustavo Padovan
Hi John, Two simple fixes for 3.8. One of the patches fixes a situation where the connection wasn't terminated if a timeout ocurrs for LE an SCO connections. The other fixes prevent NULL dereference in the SMP code, it is a security fix as well. Please pull, or let me know of any problems!

Re: [PATCH] bluetooth: Add support for atheros 04ca:3004 device to ath3k

2013-02-20 Thread Gustavo Padovan
Hi Josh, * Josh Boyer [2013-02-19 11:54:16 -0500]: > Yet another version of the atheros bluetooth chipset > > T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=04ca ProdID=3004 Rev=00.01 > S: Manufactur

Re: [PATCH RESEND] bluetooth: btmrvl_sdio: look for sd8688 firmware in proper location

2013-03-15 Thread Gustavo Padovan
Hi Lubomir, * Lubomir Rintel [2013-03-13 12:04:30 +0100]: > The firmware images are shared with libertas_sdio WiFi chip and used to be in > libertas/ subtree in linux-firmware. As btmrvl_sdio used to look into the > linux-firmware root, it ended up being unsuccessful. Since the firmware files >

Re: pull request: bluetooth 2012-09-08

2012-09-12 Thread Gustavo Padovan
Hi John, * John W. Linville [2012-09-12 14:13:10 -0400]: > On Sat, Sep 08, 2012 at 06:59:56PM -0300, Gustavo Padovan wrote: > > Hi John, > > > > A few more fixes to 3.6, here we have four important fix to the MGMT > > interface, > > two from Johan Hedberg and

Re: [PATCH] Bluetooth: Add support for BCM20702A0 [0b05, 17b5]

2012-10-24 Thread Gustavo Padovan
Hi Jeff, * Jeff Cook [2012-10-24 03:29:59 -0600]: > Hello all, > > Please see included patch. First-time submitter so let me know if I did > something wrong. Your patch is good, but you need to improve the way you submit it. We recommend using 'git send-email' like this: $ git send-email HEA

Re: [PATCH RESEND net-next] bluetooth: hci_core: Replace list_for_each with list_for_each_entry() helper

2012-10-24 Thread Gustavo Padovan
Hi Denis, * Denis Kirjanov [2012-10-22 17:22:01 +0400]: > Replace list_for_each with list_for_each_entry() helper > > Signed-off-by: Denis Kirjanov > --- > include/net/bluetooth/hci_core.h | 20 > 1 files changed, 8 insertions(+), 12 deletions(-) Patch has been applied

Re: [PATCH] Bluetooth: Add support for BCM20702A0 [0b05, 17b5]

2012-10-31 Thread Gustavo Padovan
Hi Jeff, * Jeff Cook [2012-10-27 05:01:28 -0600]: > Vendor-specific ID for BCM20702A0. > Support for bluetooth over Asus Wi-Fi GO!, included with Asus P8Z77-V > Deluxe. > > T: Bus=07 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cf

Re: [PATCH] Add bluetooth support for VAIO VPCEH [0489:e027]

2012-10-31 Thread Gustavo Padovan
Hi Marcos, * Marcos Chaparro [2012-10-29 10:09:12 -0300]: > Hi, > this patch against 3.7-rc3 identifies my Atheros AR3011 internal bluetooth > device, I just transferred some files from my phone to this debian PC using > bluetooth and it works fine (btw, it needs atheros-firmware package). >

pull request: bluetooth-next 2012-11-01

2012-11-01 Thread Gustavo Padovan
Bluetooth: AMP: Use l2cap_physical_cfm in phylink complete evt Bluetooth: Process Create Chan Request Bluetooth: Rename ctrl_id to remote_amp_id Denis Kirjanov (1): Bluetooth:Replace list_for_each with list_for_each_entry() helper Gustavo Padovan (1): Bluetooth: Replace

Re: [PATCH] ath3k: Add support for VAIO VPCEH [0489:e027]

2012-11-01 Thread Gustavo Padovan
Hi Marcos, * Marcos Chaparro [2012-11-01 19:40:45 -0300]: > Added Atheros AR3011 internal bluetooth device found in Sony VAIO VPCEH to > the > devices list. > Before this, the bluetooth module was identified as an Foxconn / Hai > bluetooth > device [0489:e027], now it claims to be an Atheros

Re: pull request: bluetooth-next 2012-09-18

2012-09-24 Thread Gustavo Padovan
* Luis R. Rodriguez [2012-09-21 18:06:42 -0700]: > On Tue, Sep 18, 2012 at 6:31 PM, Gustavo Padovan wrote: > > > Johan Hedberg (2): > > Bluetooth: mgmt: Implement support for passkey notification > > Too late now... but why did we allow this a stable fix? I get

Re: pull request: bluetooth-next 2012-09-18

2012-09-24 Thread Gustavo Padovan
* John W. Linville [2012-09-24 15:54:22 -0400]: > On Mon, Sep 24, 2012 at 03:46:22PM -0300, Gustavo Padovan wrote: > > * Luis R. Rodriguez [2012-09-21 18:06:42 -0700]: > > > > > On Tue, Sep 18, 2012 at 6:31 PM, Gustavo Padovan > > > wrote

Re: linux-next: bluetooth tree rewritten after being merged

2012-09-24 Thread Gustavo Padovan
Hi Stephen, * Stephen Rothwell [2012-09-25 08:51:13 +1000]: > Hi Gustavo, John, > > The bluetooth tree has been merged into the wireless tree (which is its > normal path to Linus), but since that merge, the top four commits in the > bluetooth tree have been rewritten. So now there will be two

pull request: bluetooth-next 2013-10-03

2013-10-03 Thread Gustavo Padovan
Bluetooth: Add the definition and stcuture for Sync Train Complete Bluetooth: Add the definition for Slave Page Response Timeout Gianluca Anzolin (1): Bluetooth: don't release the port in rfcomm_dev_state_change() Gustavo Padovan (1): Merge git://git.kernel.org/.../blue

Re: pull request: bluetooth-next 2013-10-03

2013-10-03 Thread Gustavo Padovan
Hi John I forgot to sign it. Signing now.. Gustavo 2013-10-03 Gustavo Padovan : > Hi John, > > A series of patches for 3.12. The big work here is from Marcel and Johan. They > did a lot of work in the L2CAP, HCI and MGMT layers. The most important ones > are the additio

Re: [PATCH] btusb: fix overflow return values

2013-07-09 Thread Gustavo Padovan
Hi Adam, * Adam Lee [2013-07-09 10:55:01 +0800]: > On Mon, Jul 08, 2013 at 11:50:54AM -0700, Marcel Holtmann wrote: > > Hi Adam, > > > > > PTR_ERR() returns a long type value, but btusb_setup_intel() and > > > btusb_setup_intel_patching() should return an int type value. > > > > > > This bug m

Re: [PATCH v3] btusb: fix wrong use of PTR_ERR()

2013-07-10 Thread Gustavo Padovan
Hi Adam, * Adam Lee [2013-07-10 10:02:12 +0800]: > PTR_ERR() returns a signed long type value which is limited by IS_ERR(), > it must be a negative number whose range is [-MAX_ERRNO, 0). > > The bug here returns negative numbers as error codes, then check it by > "if (ret < 0)", but -PTR_ERR()

Re: linux-next: Tree for Apr 26 [ bluetooth on suspend/resume ]

2013-07-10 Thread Gustavo Padovan
Hi Sedat, * Sedat Dilek [2013-04-26 19:40:20 +0200]: > On Fri, Apr 26, 2013 at 7:32 PM, Sedat Dilek wrote: > > On Fri, Apr 26, 2013 at 7:30 PM, Sedat Dilek wrote: > >> On Fri, Apr 26, 2013 at 10:03 AM, Stephen Rothwell > >> wrote: > >>> Hi all, > >>> > >>> Changes since 20130424: > >>> > >>>

Re: [PATCH 2/2] Bluetooth: hidp: remove wrong send_report at init

2013-07-12 Thread Gustavo Padovan
Hi Benjamin, * Benjamin Tissoires [2013-07-11 15:41:30 +0200]: > The USB hid implementation does retrieve the reports during the start. > However, this implementation does not call the HID command GET_REPORT > (which would fetch the current status of each report), but use the > DATA command, wh

Re: [PATCH] Fix refcount leak in tty_port.c

2013-07-12 Thread Gustavo Padovan
hich regression you are fixing. It makes maintainer's life easier. Also add my Ack to the patch: Acked-by: Gustavo Padovan Gustavo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH] bluetooth: btusb: Added support for Belkin F8065bf usb bluetooth device

2013-09-19 Thread Gustavo Padovan
Hi Ken, 2013-09-19 Ken O'Brien : > Belkin bluetooth device's usb device id added to generic usb bluetooth driver. > > Signed-off-by: Ken O'Brien > --- > drivers/bluetooth/btusb.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c

Re: [PATCH bluetooth-next] Bluetooth: Add support for BCM20702A0 [0a5c, 21e6]

2013-09-10 Thread Gustavo Padovan
Hi Dan, 2013-09-03 Dan Aloni : > Tested with this patch and a Bluetooth mouse on 3.10.10, on ThinkPad W530. > > Bus 001 Device 004: ID 0a5c:21e6 Broadcom Corp. BCM20702 Bluetooth 4.0 > [ThinkPad] > > T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 4 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.

Re: 3.11-rc7: unpriviledged user crashes kernel using bluetooth

2013-09-01 Thread Gustavo Padovan
Hi Pavel, 2013-08-31 Pavel Machek : > On Sat 2013-08-31 12:14:51, Pavel Machek wrote: > > On Sat 2013-08-31 12:09:33, Pavel Machek wrote: > > > Hi! > > > > > > > . Python sources for client/server are at > > > > > > > > http://tui.cvs.sourceforge.net/viewvc/tui/tui/liveview/ > > > > > > > > .

Re: linux-next: manual merge of the bluetooth tree with the wireless tree

2013-09-27 Thread Gustavo Padovan
Hi Stephen, 2013-09-27 Stephen Rothwell : > Hi Gustavo, > > Today's linux-next merge of the bluetooth tree got a conflict in > net/bluetooth/hci_core.c between commit 5e130367d43f ("Bluetooth: > Introduce a new HCI_RFKILLED flag") from the wireless tree and commit > 0736cfa8e5bb ("Bluetooth: Int

Re: pull request: bluetooth 2013-09-23

2013-09-27 Thread Gustavo Padovan
Hi John, 2013-09-26 John W. Linville : > On Mon, Sep 23, 2013 at 06:00:49PM -0300, Gustavo Padovan wrote: > > Hi John, > > > > First Bluetooth fixes to 3.12, it includes: > > > > * 3 patches to add device id for 3 new hardwares. > > > > * 2 p

Re: [PATCH 2/5] Bluetooth: Fix assignment of 0/1 to bool variables

2013-09-22 Thread Gustavo Padovan
Hi Peter, 2013-09-22 Peter Senna Tschudin : > Convert 0 to false and 1 to true when assigning values to bool > variables. Inspired by commit 3db1cd5c05f35fb43eb134df6f321de4e63141f2. > > The simplified semantic patch that find this problem is as > follows (http://coccinelle.lip6.fr/): > > @@ >

Re: [PATCH] drivers: bluetooth: btusb: Added support for Belkin F8065bf usb bluetooth device

2013-09-23 Thread Gustavo Padovan
Hi Ken, 2013-09-21 Ken O'Brien : > Adding generic rule on encountering Belkin bluetooth usb device F8065bf. > > Relevant section from /sys/kernel/debug/usb/devices: > > T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs=

pull request: bluetooth 2013-09-23

2013-09-23 Thread Gustavo Padovan
Hi John, First Bluetooth fixes to 3.12, it includes: * 3 patches to add device id for 3 new hardwares. * 2 patches from Johan to fix the rfkill behaviour during setup stage * a small clean up in the rfcomm TTY code that fixes a potential racy condition (by Gianluca Anzolin) * 2 fixes to proper

Re: [PATCH 2/10] drivers/bluetooth/bluecard_cs.c: removes unnecessary semicolon

2012-09-08 Thread Gustavo Padovan
Hi Peter, * Peter Senna Tschudin [2012-09-07 17:24:40 +0200]: > From: Peter Senna Tschudin > > removes unnecessary semicolon > > Found by Coccinelle: http://coccinelle.lip6.fr/ > > Signed-off-by: Peter Senna Tschudin > > --- > drivers/bluetooth/bluecard_cs.c |2 +- > 1 file changed, 1

Re: [PATCH 3/10] drivers/bluetooth/hci_ldisc.c: removes unnecessary semicolon

2012-09-08 Thread Gustavo Padovan
Hi Peter, * Peter Senna Tschudin [2012-09-07 17:24:39 +0200]: > From: Peter Senna Tschudin > > removes unnecessary semicolon > > Found by Coccinelle: http://coccinelle.lip6.fr/ > > Signed-off-by: Peter Senna Tschudin Patch has been applied to the bluetooth-next tree. Thanks. Gusta

Re: [PATCH 4/10] drivers/bluetooth/hci_ll.c: removes unnecessary semicolon

2012-09-08 Thread Gustavo Padovan
Hi Peter, * Peter Senna Tschudin [2012-09-07 17:24:42 +0200]: > From: Peter Senna Tschudin > > removes unnecessary semicolon > > Found by Coccinelle: http://coccinelle.lip6.fr/ > > Signed-off-by: Peter Senna Tschudin > > --- > drivers/bluetooth/hci_ll.c |2 +- > 1 file changed, 1 inse

Re: [PATCH 5/10] drivers/bluetooth/hci_vhci.c: removes unnecessary semicolon

2012-09-08 Thread Gustavo Padovan
Hi Peter, * Peter Senna Tschudin [2012-09-07 17:24:47 +0200]: > From: Peter Senna Tschudin > > removes unnecessary semicolon > > Found by Coccinelle: http://coccinelle.lip6.fr/ > > Signed-off-by: Peter Senna Tschudin > > --- > drivers/bluetooth/hci_vhci.c |2 +- > 1 file changed, 1 in

Re: [PATCH 10/10] drivers/bluetooth/btuart_cs.c: removes unnecessary semicolon

2012-09-08 Thread Gustavo Padovan
Hi Peter, * Peter Senna Tschudin [2012-09-07 17:24:48 +0200]: > From: Peter Senna Tschudin > > removes unnecessary semicolon > > Found by Coccinelle: http://coccinelle.lip6.fr/ > > Signed-off-by: Peter Senna Tschudin > > --- > drivers/bluetooth/btuart_cs.c |2 +- > 1 file changed, 1 i

pull request: bluetooth 2012-09-08

2012-09-08 Thread Gustavo Padovan
(2): Bluetooth: mgmt: Fix enabling SSP while powered off Bluetooth: mgmt: Fix enabling LE while powered off Gustavo Padovan (1): Bluetooth: Add USB_VENDOR_AND_INTERFACE_INFO() for Broadcom/Foxconn Johan Hedberg (2): Bluetooth: mgmt: Implement support for passkey

Re: [PATCH] net, bluetooth: don't attempt to free a channel that wasn't created

2012-10-07 Thread Gustavo Padovan
Hi Sasha, * Sasha Levin [2012-10-05 11:09:27 -0400]: > On 10/05/2012 06:22 AM, Andrei Emeltchenko wrote: > > Hi Sasha, > > > > On Thu, Oct 04, 2012 at 07:59:57PM -0400, Sasha Levin wrote: > >> We may currently attempt to free a channel which wasn't created due to > >> an error in the initializa

Re: [PATCH resend] net, bluetooth: don't attempt to free a channel that wasn't created

2012-10-09 Thread Gustavo Padovan
Hi Sasha, * Sasha Levin [2012-10-08 16:48:32 -0400]: > We may currently attempt to free a channel which wasn't created due to > an error in the initialization path, this would cause a NULL ptr deref. > > This would cause the following oops: > > [ 12.919073] BUG: unable to handle kernel NULL

pull request: bluetooth-next 2012-12-03

2012-12-03 Thread Gustavo Padovan
P Conf Rsp Bluetooth: trivial: Change NO_FCS_RECV to RECV_NO_FCS Frédéric Dalleau (2): Bluetooth: Add BT_DEFER_SETUP option to sco socket Bluetooth: Implement deferred sco socket setup Gustavo Padovan (4): Bluetooth: Add missing lock nesting notation Bluetooth: cancel pow

pull request: bluetooth-next 2012-10-18

2012-10-18 Thread Gustavo Padovan
using hmac Gustavo Padovan (9): Bluetooth: Fix two warnings in BT_DBG Bluetooth: Fix L2CAP coding style Bluetooth: Remove GFP_ATOMIC usage from l2cap_core.c Bluetooth: use l2cap_chan_set_err() Bluetooth: Use locked l2cap_state_change() Bluetooth: Call ops->teard

Re: [PATCH] Fixes kernel oops when turning bluetooth mouse on

2012-12-06 Thread Gustavo Padovan
p_output_raw_report; > > > > + /* True if device is blacklisted in drivers/hid/hid-core.c */ > > + if (hid_ignore(hid)) { > > + hid_destroy_device(session->hid); > > + session->hid = NULL; > > + return -ENODEV; > > + } > > +

Re: [ 01/82] Bluetooth: Always compile SCO and L2CAP in Bluetooth Core

2012-11-14 Thread Gustavo Padovan
Hi Ben, * Ben Hutchings [2012-11-14 05:39:34 +]: > 3.2-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Ulisses Furquim > > commit f1e91e1640d808d332498a6b09b2bcd01462eff9 upstream. > > The handling of SCO audio links and the L2CAP

Re: [PATCH] ath3k: Add support for VAIO VPCEH [0489:e027]

2012-11-06 Thread Gustavo Padovan
Hi Marcos, * Marcos Chaparro [2012-11-01 21:38:20 -0300]: > Added Atheros AR3011 internal bluetooth device found in Sony VAIO VPCEH to > the > devices list. > Before this, the bluetooth module was identified as an Foxconn / Hai > bluetooth > device [0489:e027], now it claims to be an Athero

Re: [PATCH] bluetooth: ath3k: Add support for VAIO VPCEH [0489:e027]

2012-11-09 Thread Gustavo Padovan
Hi Marcos, * Marcos Chaparro [2012-11-06 16:19:11 -0300]: > Added Atheros AR3011 internal bluetooth device found in Sony VAIO VPCEH to the > devices list. > Before this, the bluetooth module was identified as an Foxconn / Hai bluetooth > device [0489:e027], now it claims to be an AtherosAR3011 B

pull request: bluetooth 2012-11-09

2012-11-10 Thread Gustavo Padovan
Hi John, A few important fixes to go into 3.7. There is a new hw support by Marcos Chaparro. Johan added a memory leak fix and hci device index list fix. Also Marcel fixed a race condition in the device set up that was prevent the bt monitor to work properly. Last, Paulo Sérgio added a fix to the

Re: [PATCH] Bluetooth: Add support for GC-WB300D PCIe [04ca:3006] to ath3k.

2013-01-03 Thread Gustavo Padovan
Hi Daniel, * Daniel Schaal [2012-12-29 11:14:34 +0100]: > T: Bus=02 Lev=02 Prnt=02 Port=06 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=04ca ProdID=3006 Rev= 0.02 > C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA > I:* If#= 0 Alt= 0 #EPs=

Re: [PATCH] Bluetooth: fix the oops due to conn->hcon == NULL in shutdown case

2013-01-03 Thread Gustavo Padovan
sco_sock_set_timer(sk, SCO_DISCONN_TIMEOUT); > - hci_conn_put(sco_pi(sk)->conn->hcon); > - sco_pi(sk)->conn->hcon = NULL; > + if (sco_pi(sk)->conn->hcon) { > + hci_conn_put(sco_pi(

Re: [PATCH 12/25] bluetooth/l2cap: don't use [delayed_]work_pending()

2013-01-03 Thread Gustavo Padovan
() such that it uses mod_delayed_work() or > schedule_delayed_work() depending on a new param @override and let the > users specify whether to override or not instead of using > delayed_work_pending(). > > Only compile tested. > > Signed-off-by: Tejun Heo > Cc: Marcel Holtmann >

Re: [ 01/82] Bluetooth: Always compile SCO and L2CAP in Bluetooth Core

2012-11-15 Thread Gustavo Padovan
Hi David, * David Miller [2012-11-15 15:13:41 -0500]: > From: Ben Hutchings > Date: Thu, 15 Nov 2012 20:04:32 + > > > On Wed, 2012-11-14 at 21:38 +, Ben Hutchings wrote: > >> On Wed, Nov 14, 2012 at 04:30:44PM -0500, David Miller wrote: > >> > Fro

Re: [ 01/82] Bluetooth: Always compile SCO and L2CAP in Bluetooth Core

2012-11-15 Thread Gustavo Padovan
Hi Ben, * Ben Hutchings [2012-11-15 20:04:32 +]: > On Wed, 2012-11-14 at 21:38 +, Ben Hutchings wrote: > > On Wed, Nov 14, 2012 at 04:30:44PM -0500, David Miller wrote: > > > From: Gustavo Padovan > > > Date: Wed, 14 Nov 2012 19:24:26 -0200 > > > &g

btrfs crash - Null dereference - 3.7.0-rc5-00068-gc5e35d6

2012-11-18 Thread Gustavo Padovan
Hi, my system suddenly crashed and gave me this dump: http://imgur.com/oO6S0 I checked and there is not btrfs commit in linus' tree since I compiled this kernel. Gustavo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

Re: [PATCHv2] Bluetooth: Add support for BCM20702A0 [0b05, 17b5]

2012-11-19 Thread Gustavo Padovan
Hi Jeff, * Jeff Cook [2012-11-09 16:39:48 -0700]: > Vendor-specific ID for BCM20702A0. > Support for bluetooth over Asus Wi-Fi GO!, included with Asus P8Z77-V > Deluxe. > > T: Bus=07 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cf

pull request: bluetooth-next 2013-04-18

2013-04-17 Thread Gustavo Padovan
Hi John, A set of changes intended for 3.10. The biggest changes here are from David Herrmann, he rewrote most of the HIDP layer making it more reliable. Marcel added a driver setup stage for device that need special handling on their early initialization. Other than that we have the usual clean u

pull request: bluetooth 2013-06-13

2013-06-13 Thread Gustavo Padovan
Hi John, A few important fixes to 3.10. The first one is a crash fix and talks by itself. Then we have the support for a device id, it should be fine if you want to remove this. Next there are two btmrvl fixes, one for a potential race condition that could make its main thread never stop and the o

Re: pull request: bluetooth 2013-06-13

2013-06-13 Thread Gustavo Padovan
Hi John, * John W. Linville [2013-06-13 13:17:12 -0400]: > On Thu, Jun 13, 2013 at 12:22:28PM +0100, Gustavo Padovan wrote: > > Hi John, > > > > A few important fixes to 3.10. The first one is a crash fix and talks by > > itself. > > Then we have the support f

Re: [PATCH] Bluetooth: Add support for Mediatek Bluetooth device [0e8d:763f]

2013-06-05 Thread Gustavo Padovan
Hi Cho, * Cho, Yu-Chen [2013-06-04 21:40:26 +0800]: > From: "Cho, Yu-Chen" > > This patch adds support for Mediatek Bluetooth device > > T: Bus=02 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 2 Spd=480 MxCh= 0 > D: Ver= 2.01 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=0e8d ProdID=7

pull request: bluetooth 2013-05-30

2013-05-30 Thread Gustavo Padovan
Hi John, The following patches are important bug fixes for 3.10, plus the support for a new device. We do have three fixes from Johan. The first one is a fix to avoid LE-only devices to rely on the (inexistent) extended features data. The second patch fixes length checks on incoming L2CAP signalli

pull request: bluetooth 2013-06-23

2013-06-22 Thread Gustavo Padovan
Hi John, A important fix to 3.10, this patch fixes an issues that was preventing the l2cap info response command to be handled properly. Please pull. Thanks! Gustavo --- The following changes since commit fcb3701849957917a234a61b58ad70ed35c83eda: brcmfmac: free primary net_de

pull request: bluetooth-next 2013-06-23

2013-06-22 Thread Gustavo Padovan
instead of strncpy, also beautify code. Gustavo Padovan (1): Bluetooth: Improve comments on the HCI_Delete_Store_Link_Key issue Johan Hedberg (12): Bluetooth: Handle LE L2CAP signalling in its own function Bluetooth: Rename L2CAP_CID_LE_DATA to L2CAP_CID_ATT Bluetooth: Fix

Re: pull request: bluetooth 2013-06-23

2013-06-25 Thread Gustavo Padovan
Hi Marcel, * Marcel Holtmann [2013-06-25 13:49:19 -0700]: > Hi Pavel, > > >> Jaganath Kanakkassery (1): > >> Bluetooth: Fix invalid length check in l2cap_information_rsp() > > > > Could we add the "3.10 vs. thinkpad x60" patch that fixes regression? > > It is from Johan Hedberg… > > that

Re: pull request: bluetooth 2013-06-23

2013-06-26 Thread Gustavo Padovan
* Pavel Machek [2013-06-26 13:52:55 +0200]: > On Tue 2013-06-25 22:00:39, Gustavo Padovan wrote: > > Hi Marcel, > > > > * Marcel Holtmann [2013-06-25 13:49:19 -0700]: > > > > > Hi Pavel, > > > > > > >> Jaganath Kanakkasse

pull request: bluetooth-next 2013-03-21

2013-03-21 Thread Gustavo Padovan
Hi John, This is our first batch of patches for 3.10. The biggest changes of this pull request are from Johan Hedberg, he implemented a HCI request framework to make life easier when we have to send many HCI commands and a block and wait for all of the to finish, we were able to fix a few issues i

Re: [PATCH] Bluetooth: Add support for Foxconn / Hon Hai [0489:e04d] Add support for the AR3012 chip in SONY SVS13129.

2013-03-25 Thread Gustavo Padovan
Hi Noguchi, * Noguchi Kazutosi [2013-03-24 23:41:10 +0900]: > T: Bus=01 Lev=02 Prnt=02 Port=05 Cnt=03 Dev#= 21 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=0489 ProdID=e04d Rev=00.02 > S: Manufacturer=Atheros Communications > S: Product=Bluetooth

pull request: bluetooth 2013-07-30

2013-07-30 Thread Gustavo Padovan
(2): Bluetooth: Add support for Atheros [0cf3:3121] Bluetooth: Add support for Atheros [0cf3:e003] Adam Lee (1): Bluetooth: fix wrong use of PTR_ERR() in btusb Gustavo Padovan (1): Bluetooth: Fix race between hci_register_dev() and hci_dev_open() Jaganath Kanakkassery (1

pull request: bluetooth-next 2013-08-21

2013-08-21 Thread Gustavo Padovan
: Move the tty initialization and cleanup out of open/close Bluetooth: Implement .activate, .shutdown and .carrier_raised methods Bluetooth: Fix the reference counting of tty_port Bluetooth: Purge the dlc->tx_queue to avoid circular dependency Gustavo Padovan (1): Blueto

[PATCH] ti-st: fix NULL dereference on protocol type check

2013-07-23 Thread Gustavo Padovan
From: Gustavo Padovan If the type we receive is greater than ST_MAX_CHANNELS we can't rely on type as vector index since we would be accessing unknown memory when we use the type as index. Unable to handle kernel NULL pointer dereference at virtual address 001b pgd = c0004000 [000

pull request: bluetooth 2013-07-25

2013-07-25 Thread Gustavo Padovan
dam Lee (1): Bluetooth: fix wrong use of PTR_ERR() in btusb Gustavo Padovan (1): Bluetooth: Fix race between hci_register_dev() and hci_dev_open() Johan Hedberg (1): Bluetooth: Fix HCI init for BlueFRITZ! devices Stanislaw Gruszka (1): Bluetooth: ath3k: don't use stack memory

Re: pull request: bluetooth 2013-07-25

2013-07-25 Thread Gustavo Padovan
Hi John, * Gustavo Padovan [2013-07-25 14:05:54 +0100]: > Hi John, > > A few fixes and devices ID additions for 3.11: > > * There are 3 new ath3k device ids > * Fixed stack memory usage in ath3k. > * Fixed the init process of BlueFRITZ! devices, they were failing t

Re: [PATCH] ti-st: fix NULL dereference on protocol type check

2013-07-25 Thread Gustavo Padovan
* Andrew Morton [2013-07-24 16:12:22 -0700]: > On Tue, 23 Jul 2013 15:29:31 +0100 Gustavo Padovan > wrote: > > > From: Gustavo Padovan > > > > If the type we receive is greater than ST_MAX_CHANNELS we can't rely on > > type as vector index since we wou

pull request: bluetooth-next 2013-04-23

2013-04-23 Thread Gustavo Padovan
: btmrvl: report error if verify_fw_download times out Andy Shevchenko (1): Bluetooth: btmrvl: use native helpers for debugfs Fengguang Wu (1): Bluetooth: hci_get_cmd_complete() can be static Gustavo Padovan (1): Bluetooth: remove unneeded var initialization in btmrvl Johan Hedberg

Re: [PATCH] Bluetooth: Add missing reset_resume dev_pm_ops

2013-05-20 Thread Gustavo Padovan
Hi Shuah, * Shuah Khan [2013-04-29 15:45:34 +]: > Add missing reset_resume dev_pm_ops. Missing reset_resume results in the > following message after power management device test. This change sets > reset_resume to btusb_resume(). > > [ 2506.936134] btusb 1-1.5:1.0: no reset_resume for drive

Re: [PATCH rebased] Bluetooth: Add missing reset_resume dev_pm_ops

2013-05-20 Thread Gustavo Padovan
Hi Shuan, * Shuah Khan [2013-05-21 01:02:58 +]: > Add missing reset_resume dev_pm_ops. Missing reset_resume results in the > following message after power management device test. This change sets > reset_resume to btusb_resume(). > > [ 2506.936134] btusb 1-1.5:1.0: no reset_resume for drive

Re: [PATCH rebased] Bluetooth: Add missing reset_resume dev_pm_ops

2013-05-21 Thread Gustavo Padovan
Hi Shuah, * Shuah Khan [2013-05-21 09:32:06 -0600]: > Add missing reset_resume dev_pm_ops. Missing reset_resume results in the > following message after power management device test. This change sets > reset_resume to btusb_resume(). > > [ 2506.936134] btusb 1-1.5:1.0: no reset_resume for drive

Re: [PATCH] Bluetooth device 0cf3:3008 should map AR 3012

2013-03-11 Thread Gustavo Padovan
Hi Sunguk, * Sunguk Lee [2013-03-11 00:05:03 +0900]: > T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=0cf3 ProdID=3008 Rev= 0.01 > S: Manufacturer=Atheros Communications > S: Product=Bluetooth USB H

Re: [PATCH] Bluetooth device 0cf3:3008 should map AR 3012

2013-03-11 Thread Gustavo Padovan
Hi Sunguk, * Sunguk Lee [2013-03-12 04:41:58 +0900]: > T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=0cf3 ProdID=3008 Rev= 0.01 > S: Manufacturer=Atheros Communications > S: Product=Bluetooth USB H

pull request: bluetooth 2013-03-11

2013-03-11 Thread Gustavo Padovan
Hi John, I have these two patches for 3.9, these add support for two more devices to the bluetooth drivers. Please pull. Thanks. Gustavo -- The following changes since commit d786f67e5c587a4de8245336cb64cf4dd06871a7: mwl8k: fix band for supported channels (2013-02-11 14:31:36 -0500) a

Re: [PATCH v2] Bluetooth: Another vendor specific ID for BCM20702A0 [0a5c:21f1]

2012-08-06 Thread Gustavo Padovan
vl=0ms > I:* If#= 3 Alt= 0 #EPs= 0 Cls=fe(app. ) Sub=01 Prot=01 Driver=(none) > > Signed-off-by: Michal Marek > --- > drivers/bluetooth/btusb.c |1 + > 1 file changed, 1 insertion(+) Can you try the following patch on 3.6-rc1? It should fix this by matching vendor and intefa

pull request: bluetooth 2012-08-06

2012-08-06 Thread Gustavo Padovan
2096ae6ca647302d50a68aa36cb66a00e7dfac70: Bluetooth: add support for atheros 0489:e057 (2012-08-06 15:33:05 -0300) Andrei Emeltchenko (1): Bluetooth: smp: Fix possible NULL dereference Gustavo Padovan (1): Bluetooth: Fix

pull request: bluetooth-next 2012-08-06

2012-08-06 Thread Gustavo Padovan
Hi John, These are the changes I queued for 3.7. There are a many small fixes/improvements by Andre Guedes. A l2cap channel refcounting refactor by Jaganath. Bluetooth sockets now appears in /proc/net, by Masatake Yamato and Sachin Kamat changes ours drivers to use devm_kzalloc(). Please pull, or

Re: [PATCH] Bluetooth: Add support for Apple vendor-specific devices

2012-08-27 Thread Gustavo Padovan
Hi Henrik, * Henrik Rydberg [2012-08-25 19:28:06 +0200]: > As pointed out by Gustavo and Marcel, all Apple-specific Broadcom > devices seen so far have the same interface class, subclass and > protocol numbers. This patch adds an entry which matches all of them, > using the new USB_VENDOR_AND_IN

Re: [PATCH RESEND] Bluetooth: Add support for Apple MacBook Pro 9,2

2012-08-27 Thread Gustavo Padovan
Hi Shea, * Shea Levy [2012-08-07 17:21:03 -0400]: > $ usb-devices > > T: Bus=04 Lev=04 Prnt=04 Port=02 Cnt=01 Dev#= 9 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=05ac ProdID=821d Rev=00.86 > S: Manufacturer=Apple Inc. > S: Product=Bluetooth US

pull request: bluetooth 2012-08-27

2012-08-27 Thread Gustavo Padovan
: Fix use-after-free bug in SMP Gustavo Padovan (1): Bluetooth: Use USB_VENDOR_AND_INTERFACE() for Broadcom devices Henrik Rydberg (1): Bluetooth: Add support for Apple vendor-specific devices Vinicius Costa Gomes (2): Bluetooth: Change signature of smp_conn_security

Re: [PATCH] Bluetooth: Add support for BCM20702A0 [04ca, 2003]

2012-09-18 Thread Gustavo Padovan
Hi, In-Reply-To: <1347355532-9185-1-git-send-email-a...@suse.com> * a...@suse.com [2012-09-11 17:25:32 +0800]: > From: Jaroslav Resler > > Add another vendor specific ID for BCM20702A0. > > output of usb-devices: > T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 4 Spd=12 MxCh= 0 > D: Ver=

pull request: bluetooth 2012-09-18

2012-09-18 Thread Gustavo Padovan
Hi John, Here goes probably my last update to 3.6. It includes the two patches you were ok last week(from Andrzej Kaczmarek), those are critical ones, and two other fixes one for a system crash and the other for a missing lockdep annotation. Please pull or let me know of any problems! Gu

Re: pull request: bluetooth 2012-09-18

2012-09-18 Thread Gustavo Padovan
Forgot to sign this.. * Gustavo Padovan [2012-09-18 21:11:43 -0300]: > Hi John, > > Here goes probably my last update to 3.6. It includes the two patches you > were ok last week(from Andrzej Kaczmarek), those are critical ones, and two > other fixes one for a system crash and

pull request: bluetooth-next 2012-09-18

2012-09-18 Thread Gustavo Padovan
: trivial: Make hci_chan_del return void Bluetooth: trivial: Remove empty line Bluetooth: debug: Print refcnt for hci_dev Bluetooth: AMP: Add Read Data Block Size to amp_init Gustavo Padovan (1): Bluetooth: Add USB_VENDOR_AND_INTERFACE_INFO() for Broadcom/Foxconn Jaroslav

Re: [PATCH] add support bluetooth usb 0489:e046 Foxconn / Hon Hai

2012-08-14 Thread Gustavo Padovan
33) }, > + { USB_DEVICE(0x0489, 0xe046) }, > > { } /* Terminating entry */ > }; Can you try the following patch and see if it works for you. Gustavo --- commit 8d2952f43af434f0aa5d109a9ae50c5886a9322c (HEAD, master) Author: Gustavo Padovan Date: Wed

Re: [PATCH] add support bluetooth usb 0489:e046 Foxconn / Hon Hai

2012-08-15 Thread Gustavo Padovan
Hi, * koko Aborigines <7aborigin...@gmail.com> [2012-08-16 10:12:44 +0700]: > Hi, Gustavo > > i have error with your patch > > CC [M] drivers/bluetooth/btusb.o > drivers/bluetooth/btusb.c:113:2: error: implicit declaration of function > ‘USB_VENDOR_AND_INTERFACE_INFO’ [-Werror=implicit-functi

Re: [PATCH v4 1/8] bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-24 Thread Gustavo Padovan
Hi Masatake, * Masatake YAMATO [2012-07-16 22:20:18 +0900]: > (I resend this mail becasue I got some troubles in mail sending. > Andrei, [PATCH v4 [2-8]/8] are the same as [PATCH v3 [2-8]/8]. So > I send [PATCH v4 1/8] only here. If I should the rest of v4 patches, > please, let me know that.

Re: [PATCH v3 2/8] bluetooth: Added /proc/net/bnep via bt_procfs_init()

2012-07-24 Thread Gustavo Padovan
Hi Masatake, * Masatake YAMATO [2012-07-11 13:59:35 +0900]: > Signed-off-by: Masatake YAMATO > --- > net/bluetooth/bnep/sock.c | 22 -- > 1 file changed, 20 insertions(+), 2 deletions(-) For the rest of the series I'd like you add some commit message to your patch, only

Re: [PATCH v4 1/8] bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-24 Thread Gustavo Padovan
* Gustavo Padovan [2012-07-24 21:12:14 -0300]: > Hi Masatake, > > * Masatake YAMATO [2012-07-16 22:20:18 +0900]: > > > (I resend this mail becasue I got some troubles in mail sending. > > Andrei, [PATCH v4 [2-8]/8] are the same as [PATCH v3 [2-8]/8]. So > > I

Re: [PATCH v5 8/8] Added /proc/net/sco via bt_procfs_init()

2012-07-25 Thread Gustavo Padovan
Hi Masatake, * Masatake YAMATO [2012-07-26 01:30:12 +0900]: > Added /proc/net/sco via bt_procfs_init(). > > Signed-off-by: Masatake YAMATO > --- > net/bluetooth/sco.c |9 + > 1 file changed, 9 insertions(+) All 8 patches have been applied to bluetooth-next. Thanks. Gusta

Re: [PATCH] Bluetooth: Add MacBookPro10,1 support

2012-07-09 Thread Gustavo Padovan
Hi Henrik, * Henrik Rydberg [2012-07-09 21:25:29 +0200]: > On Mon, Jul 09, 2012 at 03:48:24PM -0300, Johan Hedberg wrote: > > Hi Henrik, > > > > On Mon, Jul 09, 2012, Henrik Rydberg wrote: > > > Add support for the 2012 15'' MacBook Pro Retina. > > > > > > Patch originally written by clipcarl

Re: [PATCH] Bluetooth: btusb: Add vendor specific ID (0a5c:21f4) BCM20702A0

2012-07-10 Thread Gustavo Padovan
Hi Manoj, * Manoj Iyer [2012-07-06 12:14:22 -0500]: > On Fri, 13 Apr 2012, Gustavo Padovan wrote: > > Gustavo, > > Sorry it took a long time to locate the hardware to get this info, I > got this info from one our QA engg cced here. Do you want me to > resubmit the patch

Re: [PATCH] Bluetooth: btusb: Add vendor specific ID (0a5c:21f4) BCM20702A0

2012-07-10 Thread Gustavo Padovan
Hi Manoj, * manoj.i...@canonical.com [2012-07-10 14:07:38 -0500]: > From: Manoj Iyer > > Patch adds support for BCM20702A0 device id (0a5c:21f4). > > usb-devices after patch was applied: > T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot

  1   2   3   4   5   6   7   8   9   >