| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Bluetooth HCI UART driver |
|---|
| .. | .. |
|---|
| 5 | 6 | * Copyright (C) 2000-2001 Qualcomm Incorporated |
|---|
| 6 | 7 | * Copyright (C) 2002-2003 Maxim Krasnyansky <maxk@qualcomm.com> |
|---|
| 7 | 8 | * Copyright (C) 2004-2005 Marcel Holtmann <marcel@holtmann.org> |
|---|
| 8 | | - * |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 12 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 13 | | - * (at your option) any later version. |
|---|
| 14 | | - * |
|---|
| 15 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 16 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 17 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 18 | | - * GNU General Public License for more details. |
|---|
| 19 | | - * |
|---|
| 20 | | - * You should have received a copy of the GNU General Public License |
|---|
| 21 | | - * along with this program; if not, write to the Free Software |
|---|
| 22 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 23 | | - * |
|---|
| 24 | 9 | */ |
|---|
| 25 | 10 | |
|---|
| 26 | 11 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 86 | 71 | { |
|---|
| 87 | 72 | struct h4_struct *h4 = hu->priv; |
|---|
| 88 | 73 | |
|---|
| 89 | | - hu->priv = NULL; |
|---|
| 90 | | - |
|---|
| 91 | 74 | BT_DBG("hu %p", hu); |
|---|
| 92 | 75 | |
|---|
| 93 | 76 | skb_queue_purge(&h4->txq); |
|---|
| .. | .. |
|---|
| 100 | 83 | return 0; |
|---|
| 101 | 84 | } |
|---|
| 102 | 85 | |
|---|
| 103 | | -/* Enqueue frame for transmittion (padding, crc, etc) */ |
|---|
| 86 | +/* Enqueue frame for transmission (padding, crc, etc) */ |
|---|
| 104 | 87 | static int h4_enqueue(struct hci_uart *hu, struct sk_buff *skb) |
|---|
| 105 | 88 | { |
|---|
| 106 | 89 | struct h4_struct *h4 = hu->priv; |
|---|
| .. | .. |
|---|
| 118 | 101 | { H4_RECV_ACL, .recv = hci_recv_frame }, |
|---|
| 119 | 102 | { H4_RECV_SCO, .recv = hci_recv_frame }, |
|---|
| 120 | 103 | { H4_RECV_EVENT, .recv = hci_recv_frame }, |
|---|
| 104 | + { H4_RECV_ISO, .recv = hci_recv_frame }, |
|---|
| 121 | 105 | }; |
|---|
| 122 | 106 | |
|---|
| 123 | 107 | /* Recv data */ |
|---|