From: Johan Hedberg Date: Tue, 21 Feb 2012 12:13:02 +0000 (+0200) Subject: Bluetooth: mgmt: Fix powered checks for commands X-Git-Tag: v3.4-rc1~177^2~112^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b34ee782164fbaf29b2e7c0e8cb3a898c0986ca;p=pandora-kernel.git Bluetooth: mgmt: Fix powered checks for commands Having the HCI_AUTO_OFF flag set means that from a mgmt interface perspective we're still not powered, so all tests for HCI_UP should also include a test for HCI_AUTO_OFF. This patch adds a convenience macro for it. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann --- Reading git-diff-tree failed