board: dragonboard410c: Fix BD address
authorStephan Gerhold <stephan.gerhold@linaro.org>
Mon, 7 Apr 2025 16:59:24 +0000 (18:59 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Fri, 11 Apr 2025 13:32:21 +0000 (15:32 +0200)
commit2cc2dc23360144129ab2f5e39356fae93c479dcc
tree963b3233f4167f101de4729f4f7608ba92366002
parentc53664c68105bc0a183b516f1cf77fdfd7a1e1a5
board: dragonboard410c: Fix BD address

local-bd-address in the device tree needs to be formatted with the least
significant byte first (i.e. little endian). We're not doing this when
adding it to the DT, which means the MAC address ends up being reversed in
Linux. Fix this by reversing the array before setting it in the DT.

We're also flipping the wrong bit when generating the BD address. Before
reversing the array, the least significant bit is in the last byte.

Fixes: ff06dc240325 ("db410: alter WLAN/BT MAC address fixup")
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by:
Link: https://lore.kernel.org/r/20250407-db410c-fixes-v1-3-524aefbc8bb4@linaro.org
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
board/qualcomm/dragonboard410c/dragonboard410c.c