commit | f8523598ee608a8c4d1f3bbd3639785be3321111 | [log] [tgz] |
---|---|---|
author | Andre Guedes <andre.guedes@openbossa.org> | Fri Sep 09 18:56:26 2011 -0300 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Wed Sep 21 12:59:16 2011 -0300 |
tree | 720d06d2bb311211994d809c6ad7577f630d5f0c | |
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>