Bluetooth: L2CAP: Fix format specifier for hex uint16_t
Instead of %4.4x we need to use %04x which printk supports. Change-Id: I0564be5531bb266b328f77231f5d00f43eabe1ed Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
b94a69e346
commit
f53388dbb9
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ static void le_conn_param_update_req(struct bt_l2cap *l2cap, uint8_t ident,
|
|||
timeout = sys_le16_to_cpu(req->timeout);
|
||||
param = BT_LE_CONN_PARAM(min, max, latency, timeout);
|
||||
|
||||
BT_DBG("min 0x%4.4x max 0x%4.4x latency: 0x%4.4x timeout: 0x%4.4x",
|
||||
BT_DBG("min 0x%04x max 0x%04x latency: 0x%04x timeout: 0x%04x",
|
||||
min, max, latency, timeout);
|
||||
|
||||
buf = l2cap_create_le_sig_pdu(BT_L2CAP_CONN_PARAM_RSP, ident,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue