]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: mgmt: Fix set_local_name and set_dev_class powered checks
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 21 Feb 2012 12:32:24 +0000 (14:32 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 21 Feb 2012 16:47:46 +0000 (18:47 +0200)
commitb5235a65ad19f47c5995f054d3dcce90570d1a1c
treeb99d4ba00ed6b7920df8c103efcf4e736e3648b8
parent4b34ee782164fbaf29b2e7c0e8cb3a898c0986ca
Bluetooth: mgmt: Fix set_local_name and set_dev_class powered checks

Both the Set Local Name and the Set Device Class commands should fail if
the adapter is not powered on.

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