From: Johan Hedberg Date: Mon, 24 Feb 2014 12:52:18 +0000 (+0200) Subject: Bluetooth: Move check for MGMT_CONNECTED flag into mgmt.c X-Git-Tag: v3.15-rc1~113^2~159^2^2~37^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12d4a3b2ccb3ac2bd56e7c216d6e7f44730006f3;p=pandora-kernel.git Bluetooth: Move check for MGMT_CONNECTED flag into mgmt.c Once mgmt_set_powered(off) starts doing disconnections we'll need to care about any disconnections in mgmt.c and not just those with the MGMT_CONNECTED flag set. Therefore, move the check into mgmt.c from hci_event.c. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed