From: Johan Hedberg Date: Thu, 23 Feb 2012 11:30:41 +0000 (+0200) Subject: Bluetooth: mgmt: Fix update_eir/class with HCI_AUTO_OFF flag set X-Git-Tag: v3.4-rc1~177^2~112^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=504c8dcd6b0ec3cd36ab221695c5516e88cf3d79;p=pandora-kernel.git Bluetooth: mgmt: Fix update_eir/class with HCI_AUTO_OFF flag set If we're powered but still have the HCI_AUTO_OFF flag set the update_eir and update_class functions should not do anything. Additionally these functions need to be called when the flag is finally cleared through set_powered or when powering on for real. Signed-off-by: Johan Hedberg Acked-by: Gustavo F. Padovan Acked-by: Marcel Holtmann --- Reading git-diff-tree failed