Bluetooth: Add missing HCIUARTGETDEVICE ioctl to compat_ioctl.c
authorJohan Hedberg <johan.hedberg@nokia.com>
Fri, 9 Jul 2010 19:28:36 +0000 (16:28 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:11 +0000 (10:39 -0700)
Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
fs/compat_ioctl.c

index 1863896..547452d 100644 (file)
@@ -601,8 +601,9 @@ static int ioc_settimeout(unsigned int fd, unsigned int cmd,
 }
 
 /* Bluetooth ioctls */
-#define HCIUARTSETPROTO        _IOW('U', 200, int)
-#define HCIUARTGETPROTO        _IOR('U', 201, int)
+#define HCIUARTSETPROTO                _IOW('U', 200, int)
+#define HCIUARTGETPROTO                _IOR('U', 201, int)
+#define HCIUARTGETDEVICE       _IOR('U', 202, int)
 
 #define BNEPCONNADD    _IOW('B', 200, int)
 #define BNEPCONNDEL    _IOW('B', 201, int)