diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-05-25 11:38:27 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-05 06:34:09 +0300 |
commit | 82781e634f815e9a675ef643a5e11da0cf77ce0e (patch) | |
tree | eacb2560b0fbfcb92d6eb604320c62fb398b83a6 /net/bluetooth/hci_event.c | |
parent | ac73498cbb54ebe3a06709ba7e4feb99c83113bf (diff) | |
download | op-kernel-dev-82781e634f815e9a675ef643a5e11da0cf77ce0e.zip op-kernel-dev-82781e634f815e9a675ef643a5e11da0cf77ce0e.tar.gz |
Bluetooth: Use __constant modifier in HCI code
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r-- | net/bluetooth/hci_event.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 80f209b..ac86b65 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -1869,9 +1869,9 @@ static void hci_conn_request_evt(struct hci_dev *hdev, struct sk_buff *skb) bacpy(&cp.bdaddr, &ev->bdaddr); cp.pkt_type = cpu_to_le16(conn->pkt_type); - cp.tx_bandwidth = cpu_to_le32(0x00001f40); - cp.rx_bandwidth = cpu_to_le32(0x00001f40); - cp.max_latency = cpu_to_le16(0xffff); + cp.tx_bandwidth = __constant_cpu_to_le32(0x00001f40); + cp.rx_bandwidth = __constant_cpu_to_le32(0x00001f40); + cp.max_latency = __constant_cpu_to_le16(0xffff); cp.content_format = cpu_to_le16(hdev->voice_setting); cp.retrans_effort = 0xff; |