memcpy(skb_push(skb, 1), &(skb->pkt_type), 1); 
memcpy(skb_push(skb, 1), &bt_cb(skb)->pkt_type, 1); 
static int bt3c_hci_send_frame(struct sk_buff *skb){	bt3c_info_t *info;	struct hci_dev *hdev = (struct hci_dev *)(skb->dev);	unsigned long flags;	if (!hdev) {		BT_ERR("Frame for unknown HCI device (hdev=NULL)");		return -ENODEV;	}	info = (bt3c_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);	spin_lock_irqsave(&(info->lock), flags);	bt3c_write_wakeup(info);	spin_unlock_irqrestore(&(info->lock), flags);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/0d48d93947dd9ea21c5cdc76a8581b06a4a39281/bt3c_cs.c/buggy/drivers/bluetooth/bt3c_cs.c