Bluetooth: Check 'dev_class' in mgmt_device_found()
authorAndre Guedes <andre.guedes@openbossa.org>
Fri, 9 Sep 2011 21:56:26 +0000 (18:56 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 21 Sep 2011 15:59:16 +0000 (12:59 -0300)
commitf8523598ee608a8c4d1f3bbd3639785be3321111
tree720d06d2bb311211994d809c6ad7577f630d5f0c
parenta8f13c8cd2c732828e5da735c204447a55cdab03
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>
net/bluetooth/mgmt.c
This page took 0.025482 seconds and 5 git commands to generate.