From: Johan Hedberg Date: Tue, 21 Feb 2012 12:32:24 +0000 (+0200) Subject: Bluetooth: mgmt: Fix set_local_name and set_dev_class powered checks X-Git-Tag: v3.4-rc1~177^2~112^2~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5235a65ad19f47c5995f054d3dcce90570d1a1c;p=pandora-kernel.git 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 Acked-by: Marcel Holtmann --- Reading git-diff-tree failed