Bluetooth: Fix remote name event return directly.
authorWesley Kuo <wesley.kuo@intel.com>
Wed, 13 May 2015 02:33:15 +0000 (10:33 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 14 May 2015 08:35:04 +0000 (10:35 +0200)
commit177d0506a911eb60b38b172215df5325ed94fa64
tree8eb0f6d3eece488a002cc491f39456b57b9ea315
parentec0810d2ac1c932dad48f45da67e3adc5c5449a1
Bluetooth: Fix remote name event return directly.

This patch fixes hci_remote_name_evt dose not resolve name during
discovery status is RESOLVING. Before simultaneous dual mode scan enabled,
hci_check_pending_name will set discovery status to STOPPED eventually.

Signed-off-by: Wesley Kuo <wesley.kuo@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c