Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290889
b: refs/heads/master
c: a0c808b
h: refs/heads/master
i:
  290887: abc8109
v: v3
  • Loading branch information
Johan Hedberg committed Feb 13, 2012
1 parent 46db95d commit b97244d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 51a8efd7d02c13cb1c6fdd1cd66788792a3fcc7c
refs/heads/master: a0c808b373e89aecc3ecae4cbdcdeff68aa12e3e
2 changes: 1 addition & 1 deletion trunk/include/net/bluetooth/hci_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ struct hci_conn {
__u16 state;
__u8 mode;
__u8 type;
__u8 out;
bool out;
__u8 attempt;
__u8 dev_class[3];
__u8 features[8];
Expand Down
8 changes: 4 additions & 4 deletions trunk/net/bluetooth/hci_conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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++;

Expand All @@ -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++;

Expand Down
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/hci_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ static inline void hci_cs_create_conn(struct hci_dev *hdev, __u8 status)
if (!conn) {
conn = hci_conn_add(hdev, ACL_LINK, &cp->bdaddr);
if (conn) {
conn->out = 1;
conn->out = true;
conn->link_mode |= HCI_LM_MASTER;
} else
BT_ERR("No memory for new connection");
Expand Down Expand Up @@ -1526,7 +1526,7 @@ static void hci_cs_le_create_conn(struct hci_dev *hdev, __u8 status)
conn = hci_conn_add(hdev, LE_LINK, &cp->peer_addr);
if (conn) {
conn->dst_type = cp->peer_addr_type;
conn->out = 1;
conn->out = true;
} else {
BT_ERR("No memory for new connection");
}
Expand Down

0 comments on commit b97244d

Please sign in to comment.