Bluetooth: Gracefully response to enabling LE on LE only devices
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 18 Mar 2015 23:15:07 +0000 (16:15 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 20 Mar 2015 12:05:27 +0000 (14:05 +0200)
commite7844ee599c3eb944c3bd0092d715ca86e76a1f3
treed0412bef54c2f6f38ec7e561871304afd4423280
parentea6edfbcefec1fcfdb826a1d5a054f402dfbfb24
Bluetooth: Gracefully response to enabling LE on LE only devices

Currently the enabling of LE on LE only devices causes an error. This
is a bit difference from other commands where trying to set the same
existing settings causes a positive response. Fix this behavior for
this single corner case.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c