From: Johan Hedberg Date: Tue, 11 Nov 2014 09:33:24 +0000 (+0200) Subject: Bluetooth: Fix mgmt connected notification X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~134^2~5^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60cb49d2c92969f7b0e7da863fc0cbe3ec0c715c;p=pandora-kernel.git Bluetooth: Fix mgmt connected notification This patch fixes a regression that was introduced by commit cb77c3ec075a50e9f956f62dc2e4c0394df1d578. In addition to BT_CONFIG, BT_CONNECTED is also a state in which we may get a remote name and need to indicate over mgmt the connection status. This scenario is particularly likely to happen for incoming connections that do not need authentication since there the hci_conn state will reach BT_CONNECTED before the remote name is received. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed