summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2020-02-07 17:58:36 +0900
committerJaehyun Kim <jeik01.kim@samsung.com>2020-02-07 17:58:36 +0900
commitedbb48003da2a1c4a8bb744653bdad27c1213af5 (patch)
tree23474d9a88e2133c618964c486b92d4dfd2ee680
parentca71bb86663ce21519bceaa0d0610fe05a979b82 (diff)
downloadconnman-edbb48003da2a1c4a8bb744653bdad27c1213af5.tar.gz
connman-edbb48003da2a1c4a8bb744653bdad27c1213af5.tar.bz2
connman-edbb48003da2a1c4a8bb744653bdad27c1213af5.zip
Remove useless code
Change-Id: I84e0cf1eee2ab86360adf2920dac1181e91b88b5 Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
-rwxr-xr-xplugins/bluetooth.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 9e19de08..704d2164 100755
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -217,18 +217,6 @@ static void pan_connect_cb(DBusMessage *message, void *user_data)
return;
}
-#ifdef TIZEN_EXT
- /*
- * Network could be removed because of BT adapter power off
- * This is to handle the scenario where network is removed
- * before the connect_cb is called
- */
- if (!pan->network) {
- DBG("network already removed");
- return;
- }
-#endif
-
if (dbus_message_get_type(message) == DBUS_MESSAGE_TYPE_ERROR) {
const char *dbus_error = dbus_message_get_error_name(message);