diff options
Diffstat (limited to 'drivers/bluetooth/bluecard_cs.c')
-rw-r--r-- | drivers/bluetooth/bluecard_cs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c index aa872c9b3fc2..395acde99d78 100644 --- a/drivers/bluetooth/bluecard_cs.c +++ b/drivers/bluetooth/bluecard_cs.c | |||
@@ -399,7 +399,6 @@ static void bluecard_receive(bluecard_info_t *info, unsigned int offset) | |||
399 | 399 | ||
400 | if (info->rx_state == RECV_WAIT_PACKET_TYPE) { | 400 | if (info->rx_state == RECV_WAIT_PACKET_TYPE) { |
401 | 401 | ||
402 | info->rx_skb->dev = (void *) info->hdev; | ||
403 | bt_cb(info->rx_skb)->pkt_type = buf[i]; | 402 | bt_cb(info->rx_skb)->pkt_type = buf[i]; |
404 | 403 | ||
405 | switch (bt_cb(info->rx_skb)->pkt_type) { | 404 | switch (bt_cb(info->rx_skb)->pkt_type) { |
@@ -477,7 +476,7 @@ static void bluecard_receive(bluecard_info_t *info, unsigned int offset) | |||
477 | break; | 476 | break; |
478 | 477 | ||
479 | case RECV_WAIT_DATA: | 478 | case RECV_WAIT_DATA: |
480 | hci_recv_frame(info->rx_skb); | 479 | hci_recv_frame(info->hdev, info->rx_skb); |
481 | info->rx_skb = NULL; | 480 | info->rx_skb = NULL; |
482 | break; | 481 | break; |
483 | 482 | ||