bluecard_cs.c (4df864c1d9afb46e2461a9f808d9f11a42d31bad) | bluecard_cs.c (634fef61076d644b989b86abc2f560d81a089a31) |
---|---|
1/* 2 * 3 * Bluetooth driver for the Anycom BlueCard (LSE039/LSE041) 4 * 5 * Copyright (C) 2001-2002 Marcel Holtmann <marcel@holtmann.org> 6 * 7 * 8 * This program is free software; you can redistribute it and/or modify --- 434 unchanged lines hidden (view full) --- 443 kfree_skb(info->rx_skb); 444 info->rx_skb = NULL; 445 break; 446 447 } 448 449 } else { 450 | 1/* 2 * 3 * Bluetooth driver for the Anycom BlueCard (LSE039/LSE041) 4 * 5 * Copyright (C) 2001-2002 Marcel Holtmann <marcel@holtmann.org> 6 * 7 * 8 * This program is free software; you can redistribute it and/or modify --- 434 unchanged lines hidden (view full) --- 443 kfree_skb(info->rx_skb); 444 info->rx_skb = NULL; 445 break; 446 447 } 448 449 } else { 450 |
451 *(u8 *)skb_put(info->rx_skb, 1) = buf[i]; | 451 skb_put_u8(info->rx_skb, buf[i]); |
452 info->rx_count--; 453 454 if (info->rx_count == 0) { 455 456 int dlen; 457 struct hci_event_hdr *eh; 458 struct hci_acl_hdr *ah; 459 struct hci_sco_hdr *sh; --- 460 unchanged lines hidden --- | 452 info->rx_count--; 453 454 if (info->rx_count == 0) { 455 456 int dlen; 457 struct hci_event_hdr *eh; 458 struct hci_acl_hdr *ah; 459 struct hci_sco_hdr *sh; --- 460 unchanged lines hidden --- |