original_kernel/drivers/uwb
Thomas Pugliese 675f0ab2fe uwb: init beacon cache entry before registering uwb device
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>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-08 16:03:21 -07:00
..
i1480
Kconfig
Makefile
address.c
allocator.c
beacon.c uwb: fix variable set but not used warnings 2014-05-27 15:18:48 -07:00
driver.c
drp-avail.c
drp-ie.c
drp.c uwb: whitespace and line length cleanups 2014-05-27 15:18:48 -07:00
est.c uwb: fix variable set but not used warnings 2014-05-27 15:18:48 -07:00
hwa-rc.c
ie-rcv.c uwb: fix variable set but not used warnings 2014-05-27 15:18:48 -07:00
ie.c
lc-dev.c uwb: init beacon cache entry before registering uwb device 2014-09-08 16:03:21 -07:00
lc-rc.c
neh.c
pal.c
radio.c uwb: comment typo fix 2014-05-27 15:18:48 -07:00
reset.c
rsv.c
scan.c
umc-bus.c
umc-dev.c
umc-drv.c
uwb-debug.c
uwb-internal.h
uwbd.c
whc-rc.c
whci.c uwb/whci: use correct structure type name in sizeof 2014-08-01 15:48:08 -07:00