diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-08-09 23:30:28 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:55:13 -0400 |
commit | 0d48d93947dd9ea21c5cdc76a8581b06a4a39281 (patch) | |
tree | 96a1cbfe83a02e27fed3d30f1ac9f2fe05c17506 /drivers/bluetooth/hci_ldisc.c | |
parent | 2eb25a6c34504254760e67172f7518d6bfdd7676 (diff) |
[Bluetooth]: Move packet type into the SKB control buffer
This patch moves the usage of packet type into the SKB control
buffer. After this patch it is now possible to shrink the sk_buff
structure and redefine its pkt_type.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bluetooth/hci_ldisc.c')
-rw-r--r-- | drivers/bluetooth/hci_ldisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c index 90be2eae52e0..aed80cc22890 100644 --- a/drivers/bluetooth/hci_ldisc.c +++ b/drivers/bluetooth/hci_ldisc.c | |||
@@ -153,7 +153,7 @@ restart: | |||
153 | break; | 153 | break; |
154 | } | 154 | } |
155 | 155 | ||
156 | hci_uart_tx_complete(hu, skb->pkt_type); | 156 | hci_uart_tx_complete(hu, bt_cb(skb)->pkt_type); |
157 | kfree_skb(skb); | 157 | kfree_skb(skb); |
158 | } | 158 | } |
159 | 159 | ||
@@ -229,7 +229,7 @@ static int hci_uart_send_frame(struct sk_buff *skb) | |||
229 | hu = (struct hci_uart *) hdev->driver_data; | 229 | hu = (struct hci_uart *) hdev->driver_data; |
230 | tty = hu->tty; | 230 | tty = hu->tty; |
231 | 231 | ||
232 | BT_DBG("%s: type %d len %d", hdev->name, skb->pkt_type, skb->len); | 232 | BT_DBG("%s: type %d len %d", hdev->name, bt_cb(skb)->pkt_type, skb->len); |
233 | 233 | ||
234 | hu->proto->enqueue(hu, skb); | 234 | hu->proto->enqueue(hu, skb); |
235 | 235 | ||