Bluetooth: Fix setting local name to the existing value
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Mar 2013 22:07:03 +0000 (17:07 -0500)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 18 Mar 2013 17:02:05 +0000 (14:02 -0300)
commitb3f2ca9446f63acf5ab8552a37c4cc90af64b816
tree910dde2879a2dfb743075faa89552e1fc0d1c694
parent3f985050fa5e2f6715b215452198f005df2d5746
Bluetooth: Fix setting local name to the existing value

If user space attempts to set the local name to the same value that's
already set we should simply return a direct command complete for this
mgmt command.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c