All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v3 0/2] Fix mgmt endianness on big-endian hosts
@ 2026-12-02 15:17 Nicolas Thibert
  2026-12-02 15:17 ` [PATCH BlueZ v3 1/2] adapter: Fix key_count endianness in MGMT_OP_SET_BLOCKED_KEYS Nicolas Thibert
  2026-12-02 15:17 ` [PATCH BlueZ v3 2/2] advertising: Fix duration and interval endianness Nicolas Thibert
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Thibert @ 2026-12-02 15:17 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Luiz Augusto von Dentz

Several mgmt command fields are written in host byte order instead of
little-endian, which breaks them on big-endian hosts (tested on MIPS
big-endian, OpenWrt/ath79).

v3:
- Split the set_blocked_keys() fix into its own patch, as it is for a
  different command (requested by Luiz).
- No code change since v2.

v2:
- Use cpu_to_le16()/cpu_to_le32() instead of htobs()/htobl(), as
  requested by Luiz.

Nicolas Thibert (2):
  adapter: Fix key_count endianness in MGMT_OP_SET_BLOCKED_KEYS
  advertising: Fix duration and interval endianness

 src/adapter.c     | 5 +++--
 src/advertising.c | 8 ++++----
 2 files changed, 7 insertions(+), 6 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-02 15:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 15:17 [PATCH BlueZ v3 0/2] Fix mgmt endianness on big-endian hosts Nicolas Thibert
2026-12-02 15:17 ` [PATCH BlueZ v3 1/2] adapter: Fix key_count endianness in MGMT_OP_SET_BLOCKED_KEYS Nicolas Thibert
2026-12-02 15:17 ` [PATCH BlueZ v3 2/2] advertising: Fix duration and interval endianness Nicolas Thibert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.