diff options
author | Eyal Birger <eyal.birger@gmail.com> | 2015-03-01 07:58:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-02 00:19:29 -0500 |
commit | 6368c235777456ddaeaa61360186d8d03a61cb18 (patch) | |
tree | b0b3fb3a82eaf8bac83640333cd1b2eea92ada95 /net/bluetooth/hci_request.c | |
parent | 49a6fe055739a77ef910c283efb99928423c97a0 (diff) |
net: bluetooth: compact struct bt_skb_cb by converting boolean fields to bit fields
Convert boolean fields incoming and req_start to bit fields and move
force_active in order save space in bt_skb_cb in an effort to use
a portion of skb->cb[] for storing skb->dropcount.
Signed-off-by: Eyal Birger <eyal.birger@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/hci_request.c')
-rw-r--r-- | net/bluetooth/hci_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_request.c b/net/bluetooth/hci_request.c index db2f45a516e9..f857e765e081 100644 --- a/net/bluetooth/hci_request.c +++ b/net/bluetooth/hci_request.c | |||
@@ -116,7 +116,7 @@ void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, | |||
116 | } | 116 | } |
117 | 117 | ||
118 | if (skb_queue_empty(&req->cmd_q)) | 118 | if (skb_queue_empty(&req->cmd_q)) |
119 | bt_cb(skb)->req_start = true; | 119 | bt_cb(skb)->req_start = 1; |
120 | 120 | ||
121 | bt_cb(skb)->req_event = event; | 121 | bt_cb(skb)->req_event = event; |
122 | 122 | ||