Bluetooth: Fix consistency with u16 integer type in mgmt pending_cmd
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Nov 2011 11:58:56 +0000 (13:58 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 9 Nov 2011 14:48:39 +0000 (12:48 -0200)
For consistency the integer type should be u16 and not __u16.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c

index 263fa2745d48b2de8dd261a4944a4e05d8b23f6f..a849428ffbcbf7b50dcb15b37606eae752442bab 100644 (file)
@@ -36,7 +36,7 @@
 
 struct pending_cmd {
        struct list_head list;
-       __u16 opcode;
+       u16 opcode;
        int index;
        void *param;
        struct sock *sk;