--- hci_ldisc.c 2007-09-11 02:54:02.000000000 +0930 +++ hci_ldisc.c.new 2007-12-21 06:03:11.000000000 +1030 @@ -203,16 +203,17 @@ static int hci_uart_close(struct hci_dev *hdev) { BT_DBG("hdev %p", hdev); if (!test_and_clear_bit(HCI_RUNNING, &hdev->flags)) return 0; hci_uart_flush(hdev); + hdev->flush = NULL; return 0; } /* Send frames from HCI layer */ static int hci_uart_send_frame(struct sk_buff *skb) { struct hci_dev* hdev = (struct hci_dev *) skb->dev; struct tty_struct *tty;