compat-wireless: backport assinging the tty dev to hci dev
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Tue, 3 Apr 2012 01:03:05 +0000 (18:03 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Tue, 3 Apr 2012 01:03:05 +0000 (18:03 -0700)
commit508205feb435b0a15c6eb26be7752ac72928e599
tree9003843b34d77c763e2770a02b2a636953b9b5e4
parent14d0e0462a2dc22df51a3a8f4509b2539a20b9f1
compat-wireless: backport assinging the tty dev to hci dev

This backports assinging the tty device to the hci parent
pointer. The goal was to make the devices link under /sys/
but on older kernels we cannot support this. One alternative
that occurs to me is to have a compat subsystem where userspace
applications can hunt for such newer devices, but this requires
quite a bit of work and consideration.

commit 7f4b2b04c88377af30c022f36c060190182850fb
Author: Andrei Warkentin <andreiw@motorola.com>
Date:   Fri Feb 11 17:19:26 2011 -0600

    Bluetooth: Make hci a child of the corresponding tty device.

    Make /sys/class/bluetooth/hciX a symlink to
    path under corresponding tty.

Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
patches/52-tty-dev.patch [new file with mode: 0644]