diff options
author | Andre Guedes <andre.guedes@openbossa.org> | 2011-09-09 18:56:26 -0300 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-09-21 12:59:16 -0300 |
commit | f8523598ee608a8c4d1f3bbd3639785be3321111 (patch) | |
tree | 720d06d2bb311211994d809c6ad7577f630d5f0c /net/bluetooth/l2cap_core.c | |
parent | a8f13c8cd2c732828e5da735c204447a55cdab03 (diff) |
Bluetooth: Check 'dev_class' in mgmt_device_found()
The mgmt_device_found event will be used to report LE devices found
during discovery procedure. Since LE advertising reports events
doesn't have class of device information, we need to check if
'dev_class' is not NULL before copying it.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
0 files changed, 0 insertions, 0 deletions