summaryrefslogtreecommitdiffstats
path: root/bcmdhd
diff options
context:
space:
mode:
authorPrerepa Viswanadham <dham@google.com>2015-04-10 11:53:18 -0700
committerPrerepa Viswanadham <dham@google.com>2015-04-10 11:53:18 -0700
commit7f02be87573205de39d9535f25d8853709280d04 (patch)
treece98c942b3d30ff086b048648e0852db5e70c3c2 /bcmdhd
parent955856b5402fa584dff24823393c844258d95997 (diff)
parentc86b0f1aa52bb3e73a4ab2050a098f2ddc3d2a11 (diff)
downloadhardware_broadcom_wlan-7f02be87573205de39d9535f25d8853709280d04.zip
hardware_broadcom_wlan-7f02be87573205de39d9535f25d8853709280d04.tar.gz
hardware_broadcom_wlan-7f02be87573205de39d9535f25d8853709280d04.tar.bz2
Merge commit 'c86b0f1' into merge_work
Change-Id: I7c4cb626c735523cfdc29051e3ad6b4a5ed08a25
Diffstat (limited to 'bcmdhd')
-rwxr-xr-xbcmdhd/wifi_hal/rtt.cpp4
-rw-r--r--bcmdhd/wifi_hal/wifi_hal.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/bcmdhd/wifi_hal/rtt.cpp b/bcmdhd/wifi_hal/rtt.cpp
index 67c32cd..0d0b1e2 100755
--- a/bcmdhd/wifi_hal/rtt.cpp
+++ b/bcmdhd/wifi_hal/rtt.cpp
@@ -231,7 +231,7 @@ public:
}
result = request.put_u32(RTT_ATTRIBUTE_TARGET_NUM_RETRY_FTM,
- rttParams[i].num_retries_per_measurement_frame);
+ rttParams[i].num_retries_per_rtt_frame);
if (result < 0) {
return result;
}
@@ -243,7 +243,7 @@ public:
}
result = request.put_u32(RTT_ATTRIBUTE_TARGET_BURST_TIMEOUT,
- rttParams[i].burst_timeout);
+ rttParams[i].burst_duration);
if (result < 0) {
return result;
}
diff --git a/bcmdhd/wifi_hal/wifi_hal.cpp b/bcmdhd/wifi_hal/wifi_hal.cpp
index 3d38802..1b019f4 100644
--- a/bcmdhd/wifi_hal/wifi_hal.cpp
+++ b/bcmdhd/wifi_hal/wifi_hal.cpp
@@ -136,7 +136,6 @@ wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn)
return WIFI_SUCCESS;
}
-
wifi_error wifi_initialize(wifi_handle *handle)
{
srand(getpid());