summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/mgmt.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-26 13:04:52 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-27 12:34:39 +0200
commit816a11d5ced501d368fabe09172f3d62744e8b53 (patch)
treee4f3a0879ad41c7bc06b2e8f2b65a38502c44f4f /net/bluetooth/mgmt.c
parent9b27f350688c9399da10c2b888c4044c2c1bd923 (diff)
Bluetooth: Use kernel int types instead of ones from stdint.h
u8/__u8/u32/etc should be used in the kernel instead of stdint.h types. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/mgmt.c')
-rw-r--r--net/bluetooth/mgmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index 07e31f73f70..27830f40169 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -1075,7 +1075,7 @@ static int set_link_security(struct sock *sk, u16 index, void *data, u16 len)
struct mgmt_mode *cp = data;
struct pending_cmd *cmd;
struct hci_dev *hdev;
- uint8_t val;
+ u8 val;
int err;
BT_DBG("request for hci%u", index);
@@ -1147,7 +1147,7 @@ static int set_ssp(struct sock *sk, u16 index, void *data, u16 len)
struct mgmt_mode *cp = data;
struct pending_cmd *cmd;
struct hci_dev *hdev;
- uint8_t val;
+ u8 val;
int err;
BT_DBG("request for hci%u", index);