Skip to content
Commit fbd34dac authored by Kapil Bhatt's avatar Kapil Bhatt Committed by Fabio Baltieri
Browse files

wifi: Fix fractional part of Tx rate by converting to float



The Tx rate was previously stored as an integer, which caused loss of
precision for rates like 8.6 Mbps or 34.4 Mbps due to integer division.
The change will update data type to float.

Signed-off-by: default avatarKapil Bhatt <kapil.bhatt@nordicsemi.no>
parent db0e8a6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment