]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/bluetooth/bpa10x.c
Bluetooth: Provide hdev parameter to hci_recv_frame() driver callback
[karo-tx-linux.git] / drivers / bluetooth / bpa10x.c
index 2fe4a8031348f0c8b05074eb9889a1d2e02a7a91..3188fb48bf4b2b3ac1fdb0321d1d4ccd4866aba5 100644 (file)
@@ -129,8 +129,6 @@ static int bpa10x_recv(struct hci_dev *hdev, int queue, void *buf, int count)
                                return -ENOMEM;
                        }
 
-                       skb->dev = (void *) hdev;
-
                        data->rx_skb[queue] = skb;
 
                        scb = (void *) skb->cb;
@@ -155,7 +153,7 @@ static int bpa10x_recv(struct hci_dev *hdev, int queue, void *buf, int count)
                        data->rx_skb[queue] = NULL;
 
                        bt_cb(skb)->pkt_type = scb->type;
-                       hci_recv_frame(skb);
+                       hci_recv_frame(hdev, skb);
                }
 
                count -= len; buf += len;