Bluetooth: Convert hdev->out to a bool type
[deliverable/linux.git] / net / bluetooth / hci_conn.c
index 8a4678a2c982f47a9466a538715ebd2fdd26c041..a707d19ee44ed44c53732d2b11e96bf457f7617a 100644 (file)
@@ -51,7 +51,7 @@ static void hci_le_connect(struct hci_conn *conn)
        struct hci_cp_le_create_conn cp;
 
        conn->state = BT_CONNECT;
-       conn->out = 1;
+       conn->out = true;
        conn->link_mode |= HCI_LM_MASTER;
        conn->sec_level = BT_SECURITY_LOW;
 
@@ -83,7 +83,7 @@ void hci_acl_connect(struct hci_conn *conn)
        BT_DBG("%p", conn);
 
        conn->state = BT_CONNECT;
-       conn->out = 1;
+       conn->out = true;
 
        conn->link_mode = HCI_LM_MASTER;
 
@@ -151,7 +151,7 @@ void hci_add_sco(struct hci_conn *conn, __u16 handle)
        BT_DBG("%p", conn);
 
        conn->state = BT_CONNECT;
-       conn->out = 1;
+       conn->out = true;
 
        conn->attempt++;
 
@@ -169,7 +169,7 @@ void hci_setup_sync(struct hci_conn *conn, __u16 handle)
        BT_DBG("%p", conn);
 
        conn->state = BT_CONNECT;
-       conn->out = 1;
+       conn->out = true;
 
        conn->attempt++;
 
This page took 0.051556 seconds and 5 git commands to generate.