skb->pkt_type = HCI_VENDOR_PKT; 
bt_cb(skb)->pkt_type = HCI_VENDOR_PKT; 
static void bpa10x_recv_bulk(struct bpa10x_data *data, unsigned char *buf, int count){	struct hci_acl_hdr *ah;	struct hci_sco_hdr *sh;	struct hci_vendor_hdr *vh;	struct sk_buff *skb;	int len;	while (count) {		switch (*buf++) {		case HCI_ACLDATA_PKT:			ah = (struct hci_acl_hdr *) buf;			len = HCI_ACL_HDR_SIZE + __le16_to_cpu(ah->dlen);			skb = bt_skb_alloc(len, GFP_ATOMIC);			if (skb) {				memcpy(skb_put(skb, len), buf, len);				skb->dev = (void *) data->hdev;				skb->pkt_type = HCI_ACLDATA_PKT;				hci_recv_frame(skb);			}			break;		case HCI_SCODATA_PKT:			sh = (struct hci_sco_hdr *) buf;			len = HCI_SCO_HDR_SIZE + sh->dlen;			skb = bt_skb_alloc(len, GFP_ATOMIC);			if (skb) {				memcpy(skb_put(skb, len), buf, len);				skb->dev = (void *) data->hdev;				skb->pkt_type = HCI_SCODATA_PKT;				hci_recv_frame(skb);			}			break;		case HCI_VENDOR_PKT:			vh = (struct hci_vendor_hdr *) buf;			len = HCI_VENDOR_HDR_SIZE + __le16_to_cpu(vh->dlen);			skb = bt_skb_alloc(len, GFP_ATOMIC);			if (skb) {				memcpy(skb_put(skb, len), buf, len);				skb->dev = (void *) data->hdev;				skb->pkt_type = HCI_VENDOR_PKT;				hci_recv_frame(skb);			}			break;		default:			len = count - 1;			break;		}		buf   += len;		count -= (len + 1);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/0d48d93947dd9ea21c5cdc76a8581b06a4a39281/bpa10x.c/clean/drivers/bluetooth/bpa10x.c