From: Johan Hedberg Date: Sat, 29 Mar 2014 06:39:53 +0000 (+0200) Subject: Bluetooth: Fix address in unmergeable device found events X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~279^2^2~13^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c5b93e4be2fb52dca055e32e235453aa172500b;p=pandora-kernel.git Bluetooth: Fix address in unmergeable device found events When sending out a device found event caused by an advertising report in the situation where we couldn't store the report as a pending one, the code was incorrectly trying to use the address and address type from the pending data. Since the pending data is cleared in the previous line this causes a potentially incorrect address type and an address of BDADDR_ANY. This patch fixes the call to use the address information correctly from the received advertising report. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed