aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/mgmt.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-26 06:04:52 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-27 05:34:39 -0500
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)
1075 struct mgmt_mode *cp = data; 1075 struct mgmt_mode *cp = data;
1076 struct pending_cmd *cmd; 1076 struct pending_cmd *cmd;
1077 struct hci_dev *hdev; 1077 struct hci_dev *hdev;
1078 uint8_t val; 1078 u8 val;
1079 int err; 1079 int err;
1080 1080
1081 BT_DBG("request for hci%u", index); 1081 BT_DBG("request for hci%u", index);
@@ -1147,7 +1147,7 @@ static int set_ssp(struct sock *sk, u16 index, void *data, u16 len)
1147 struct mgmt_mode *cp = data; 1147 struct mgmt_mode *cp = data;
1148 struct pending_cmd *cmd; 1148 struct pending_cmd *cmd;
1149 struct hci_dev *hdev; 1149 struct hci_dev *hdev;
1150 uint8_t val; 1150 u8 val;
1151 int err; 1151 int err;
1152 1152
1153 BT_DBG("request for hci%u", index); 1153 BT_DBG("request for hci%u", index);