summaryrefslogtreecommitdiffstats
path: root/bcmdhd/wifi_hal
diff options
context:
space:
mode:
authorxinhe <xinhe@google.com>2015-03-02 16:48:32 -0800
committerxinhe <xinhe@google.com>2015-03-02 16:48:32 -0800
commitc86cb4f87d83ce75d67078601adebf612f270237 (patch)
tree75a4028b1d155b9a9ffb2901be5fbda4430205cd /bcmdhd/wifi_hal
parent184f71450f0e2fe61794ab59f0abee3cc5bacb76 (diff)
downloadhardware_broadcom_wlan-c86cb4f87d83ce75d67078601adebf612f270237.zip
hardware_broadcom_wlan-c86cb4f87d83ce75d67078601adebf612f270237.tar.gz
hardware_broadcom_wlan-c86cb4f87d83ce75d67078601adebf612f270237.tar.bz2
modify the interface rtt.h
Bug:19570769 Change-Id: Ifec3fb04548fb102837f70318481e5e9a4e455e3
Diffstat (limited to 'bcmdhd/wifi_hal')
-rw-r--r--bcmdhd/wifi_hal/rtt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcmdhd/wifi_hal/rtt.cpp b/bcmdhd/wifi_hal/rtt.cpp
index 5bb2921..92896fb 100644
--- a/bcmdhd/wifi_hal/rtt.cpp
+++ b/bcmdhd/wifi_hal/rtt.cpp
@@ -146,7 +146,7 @@ public:
if (result < 0) {
return result;
}
- result = request.put_u8(RTT_ATTRIBUTE_TARGET_MODE, rttParams[i].multi_burst);
+ result = request.put_u8(RTT_ATTRIBUTE_TARGET_MODE, rttParams[i].num_burst > 0 ? 1: 0 );
if (result < 0) {
return result;
}