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:
Kapil Bhatt <kapil.bhatt@nordicsemi.no>
Loading
Please sign in to comment