Fix build: update RTT API per new distance definition
Etan Cohen [Wed, 27 Jan 2016 20:45:06 +0000 (12:45 -0800)]
API changed in pag/511872

Change-Id: I352ae38de0d4b6e81ce2b82799608813ceba6a64

bcmdhd/wifi_hal/rtt.cpp

index f77fdb0..09e3b85 100644 (file)
@@ -450,7 +450,7 @@ public:
                                 rtt_result->success_number, rtt_result->number_per_burst_peer,
                                 get_err_info(rtt_result->status), rtt_result->retry_after_duration,
                                 rtt_result->rssi, rtt_result->rx_rate.bitrate * 100,
-                                rtt_result->rtt/10, rtt_result->rtt_sd, rtt_result->distance,
+                                rtt_result->rtt/10, rtt_result->rtt_sd, rtt_result->distance_mm / 10,
                                 rtt_result->burst_duration, rtt_result->negotiated_burst_num);
                         currentIdx++;
                     }