switch (skb->pkt_type) {
switch (bt_cb(skb)->pkt_type) {
static int bluecard_hci_send_frame(struct sk_buff *skb){	bluecard_info_t *info;	struct hci_dev *hdev = (struct hci_dev *)(skb->dev);	if (!hdev) {		BT_ERR("Frame for unknown HCI device (hdev=NULL)");		return -ENODEV;	}	info = (bluecard_info_t *)(hdev->driver_data);	switch (skb->pkt_type) {	case HCI_COMMAND_PKT:		hdev->stat.cmd_tx++;		break;	case HCI_ACLDATA_PKT:		hdev->stat.acl_tx++;		break;	case HCI_SCODATA_PKT:		hdev->stat.sco_tx++;		break;	};	/* Prepend skb with frame type */	memcpy(skb_push(skb, 1), &(skb->pkt_type), 1);	skb_queue_tail(&(info->txq), skb);	bluecard_write_wakeup(info);	return 0;}