diff options
author | Szymon Janc <szymon.janc@codecoup.pl> | 2016-09-19 21:25:52 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-09-19 21:33:27 +0300 |
commit | 7d5c11da1ff6389511c42448f59456373edfc103 (patch) | |
tree | b853315c348fb994346c4c29af8d9d877470928e /net/bluetooth/hci_sysfs.c | |
parent | 162f812f23bab583f5d514ca0e4df67797ac9cdf (diff) | |
download | linux-7d5c11da1ff6389511c42448f59456373edfc103.tar.xz |
Bluetooth: Refactor read_ext_controller_info handler
There is no need to allocate heap for reply only to copy stack data to
it. This also fix rp memory leak and missing hdev unlock if kmalloc
failed.
Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_sysfs.c')
0 files changed, 0 insertions, 0 deletions