mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-24 18:38:38 +00:00
Bluetooth: trivial: Fix endian conversion mode
In L2CAP we use le16 format so change direction of conversion from le16_to_cpu to cpu_to_le16. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
8ce0c498aa
commit
4fd21a88e3
@ -2379,9 +2379,9 @@ done:
|
||||
chan->remote_mps = size;
|
||||
|
||||
rfc.retrans_timeout =
|
||||
le16_to_cpu(L2CAP_DEFAULT_RETRANS_TO);
|
||||
__constant_cpu_to_le16(L2CAP_DEFAULT_RETRANS_TO);
|
||||
rfc.monitor_timeout =
|
||||
le16_to_cpu(L2CAP_DEFAULT_MONITOR_TO);
|
||||
__constant_cpu_to_le16(L2CAP_DEFAULT_MONITOR_TO);
|
||||
|
||||
set_bit(CONF_MODE_DONE, &chan->conf_state);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user