|
@@ -165,7 +165,7 @@ static struct sk_buff *smp_build_cmd(struct l2cap_conn *conn, u8 code,
|
|
|
|
|
|
lh = (struct l2cap_hdr *) skb_put(skb, L2CAP_HDR_SIZE);
|
|
|
lh->len = cpu_to_le16(sizeof(code) + dlen);
|
|
|
- lh->cid = cpu_to_le16(L2CAP_CID_SMP);
|
|
|
+ lh->cid = __constant_cpu_to_le16(L2CAP_CID_SMP);
|
|
|
|
|
|
memcpy(skb_put(skb, sizeof(code)), &code, sizeof(code));
|
|
|
|