linux-kernel-test/drivers/uwb
Thomas Pugliese a899575191 USB: HWA: fix device probe failure
This patch fixes a race condition that caused the HWA_HC interface probe
function to occasionally fail.  The HWA_HC would attempt to register
itself with the HWA_RC by searching for a uwb_rc class device with the
same parent device ptr.  If the probe function for the HWA_RC interface
had yet to run, the uwb_rc class device would not have been created
causing the look up to fail and the HWA_HC probe function to return an
error causing the device to be unusable.

The fix is for the HWA to delay registering with the HWA_RC until
receiving the command from userspace to start the wireless channel.  It
is the responsibility of userspace to ensure that the uwb_rc class
device has been created before starting the HWA channel.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-24 16:20:43 -07:00
..
i1480
address.c
allocator.c
beacon.c
driver.c
drp-avail.c
drp-ie.c
drp.c usb: uwb: use correct locking calls for rc data 2013-05-21 11:48:03 -07:00
est.c uwb: use %*ph specifier to dump buffer 2013-06-03 14:33:26 -07:00
hwa-rc.c UWB: HWA: add support for Alereon 5310 and 5611 devices 2013-06-06 13:11:14 -07:00
ie-rcv.c
ie.c
Kconfig
lc-dev.c
lc-rc.c
Makefile
neh.c
pal.c USB: HWA: fix device probe failure 2013-06-24 16:20:43 -07:00
radio.c
reset.c
rsv.c usb: uwb: use correct locking calls for rc data 2013-05-21 11:48:03 -07:00
scan.c
umc-bus.c
umc-dev.c
umc-drv.c
uwb-debug.c
uwb-internal.h USB: HWA: fix device probe failure 2013-06-24 16:20:43 -07:00
uwbd.c
whc-rc.c
whci.c uwb/whci: Use module_pci_driver to register driver 2013-05-21 11:48:03 -07:00