uwb: create a uwb bus type and add in-range peer devices to it
authorThomas Pugliese <thomas.pugliese@gmail.com>
Tue, 16 Sep 2014 20:53:08 +0000 (15:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 05:04:44 +0000 (22:04 -0700)
commit848879340a7d220fd9801396eba82ecac2f2a739
treee61a90d95d576c10e55b0296d7be17ef79a64acf
parent58e4ab3eb02c77e11eae1555e4d635a058afb629
uwb: create a uwb bus type and add in-range peer devices to it

Documentation/usb/WUSB-Design-overview.txt states that UWB devices seen
by a UWB radio controller are added to /sys/bus/uwb/devices, but this
was not actually being done.  This functionality is needed in order for
UWB peer devices to be enumerated by user mode tools.  This patch
creates a uwb bus type and adds UWB peer devices to it as they are
discovered by the radio controller.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uwb/driver.c
drivers/uwb/lc-dev.c
drivers/uwb/uwb-internal.h