Skip to content
Commit 0e8f556b authored by Emil Gydesen's avatar Emil Gydesen Committed by Carles Cufí
Browse files

Bluetooth: ISO: Fix issue with ++ in calls to sys_le16_to_cpu



sys_le16_to_cpu is a macro, and not big endian the value
is referenced twice, which would incorrectly increment the
value.

Modifed to extract the value to a variable before calling
sys_le16_to_cpu.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent ed4551d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment