diff options
author | Etan Cohen <etancohen@google.com> | 2015-04-24 17:12:57 -0700 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2015-04-24 17:12:57 -0700 |
commit | 1dc3032cbec4d3d4f67fcc0a1dffb6a1dee8a1b7 (patch) | |
tree | cab73784a7493dcc3e86ab7d097fd003abe62b4d /bcmdhd/wifi_hal | |
parent | cab099c7be6490bad1e0402b630840f8d0fcc99b (diff) | |
download | hardware_broadcom_wlan-1dc3032cbec4d3d4f67fcc0a1dffb6a1dee8a1b7.zip hardware_broadcom_wlan-1dc3032cbec4d3d4f67fcc0a1dffb6a1dee8a1b7.tar.gz hardware_broadcom_wlan-1dc3032cbec4d3d4f67fcc0a1dffb6a1dee8a1b7.tar.bz2 |
Fix build error on volantis: assumption about pointer size
Change-Id: I894e09b0563a95ab921c59d8b0a099de41132f61
Diffstat (limited to 'bcmdhd/wifi_hal')
-rw-r--r-- | bcmdhd/wifi_hal/wifi_logger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bcmdhd/wifi_hal/wifi_logger.cpp b/bcmdhd/wifi_hal/wifi_logger.cpp index 171a578..3a242ed 100644 --- a/bcmdhd/wifi_hal/wifi_logger.cpp +++ b/bcmdhd/wifi_hal/wifi_logger.cpp @@ -618,12 +618,14 @@ public: ALOGE("Failed to put get memory dump request; result = %d", result); return result; } + /* BUG: 1. should not be passing pointer to data, 2. should not assume pointer is 32 bits result = request.put_u32(LOGGER_ATTRIBUTE_FW_DUMP_DATA, (uint32_t)(mBuff+buffer_size)); if (result != WIFI_SUCCESS) { ALOGE("Failed to put get memory dump request; result = %d", result); return result; } + */ request.attr_end(data); mBuffSize += buffer_size; |