X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fbluetooth%2Fhci_vhci.c;h=d1df4adff1a995e5179e32239513542d92900ec6;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=9faa8a08a836263305fa07a621bc218b44ce4b4a;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c index 9faa8a08a..d1df4adff 100644 --- a/drivers/bluetooth/hci_vhci.c +++ b/drivers/bluetooth/hci_vhci.c @@ -302,7 +302,7 @@ static int hci_vhci_chr_open(struct inode *inode, struct file * file) } file->private_data = hci_vhci; - return 0; + return nonseekable_open(inode, file); } static int hci_vhci_chr_close(struct inode *inode, struct file *file)