linux/drivers/uwb
Thomas Pugliese 6c5db35047 uwb: init beacon cache entry before registering uwb device
commit 675f0ab2fe upstream.

Make sure the uwb_dev->bce entry is set before calling uwb_dev_add in
uwbd_dev_onair so that usermode will only see the device after it is
properly initialized.  This fixes a kernel panic that can occur if
usermode tries to access the IEs sysfs attribute of a UWB device before
the driver has had a chance to set the beacon cache entry.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-05 14:52:14 -07:00
..
i1480
address.c
allocator.c
beacon.c uwb: move mutex_lock to error case in uwbd_evt_handle_rc_bp_slot_change 2013-12-20 12:19:44 -08:00
driver.c
drp-avail.c
drp-ie.c uwb: Staticize local symbols 2013-08-19 17:08:16 -07:00
drp.c
est.c
hwa-rc.c HWA RC: fix a kernel panic when unplugging the HWA dongle 2013-08-12 15:41:08 -07:00
ie-rcv.c
ie.c
Kconfig
lc-dev.c uwb: init beacon cache entry before registering uwb device 2014-10-05 14:52:14 -07:00
lc-rc.c
Makefile
neh.c
pal.c UWB: fix sysfs warning on HWA device unplug. 2013-08-12 15:41:09 -07:00
radio.c uwb: whitespace and comment cleanups 2013-12-20 12:19:13 -08:00
reset.c
rsv.c uwb: use uwb_rsv_callback instead of calling rsv->callback directly 2013-12-20 12:19:13 -08:00
scan.c
umc-bus.c uwb: Use dev_is_pci() to check whether it is pci device 2013-12-08 18:01:56 -08:00
umc-dev.c uwb: umc-dev: add missing put_device call 2013-12-19 10:26:46 -08:00
umc-drv.c
uwb-debug.c
uwb-internal.h
uwbd.c
whc-rc.c
whci.c