]> Pileus Git - ~andy/linux/blobdiff - drivers/bluetooth/hci_vhci.c
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[~andy/linux] / drivers / bluetooth / hci_vhci.c
index 158bfe507da7fb19f4149ce63806bd9e8c510409..3f72595a60178a7f23ca45ac6418c6e5cb53faa6 100644 (file)
@@ -252,8 +252,9 @@ static int vhci_open(struct inode *inode, struct file *file)
        }
 
        file->private_data = data;
+       nonseekable_open(inode, file);
 
-       return nonseekable_open(inode, file);
+       return 0;
 }
 
 static int vhci_release(struct inode *inode, struct file *file)