Bluetooth: Set name_state to unknown when entry name is empty
authorRam Malovany <ramm@ti.com>
Thu, 19 Jul 2012 07:26:11 +0000 (10:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 17:00:18 +0000 (10:00 -0700)
commit4a20bce04ec14c74f5b77c73d7d8d476ace74cea
tree398e58b2c115a384a0d3836f6bd6338c2c642777
parenta8b8ad6dcf49c84c7a8633082191c6fd7539c355
Bluetooth: Set name_state to unknown when entry name is empty

commit c3e7c0d90b14a3e7ac091d24cef09efb516d587b upstream.

When the name of the given entry is empty , the state needs to be
updated accordingly.

Signed-off-by: Ram Malovany <ramm@ti.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bluetooth/hci_event.c