From: Andre Guedes Date: Fri, 9 Sep 2011 21:56:26 +0000 (-0300) Subject: Bluetooth: Check 'dev_class' in mgmt_device_found() X-Git-Tag: v3.2-rc1~129^2~183^2~39^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8523598ee608a8c4d1f3bbd3639785be3321111;p=pandora-kernel.git 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 Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed