summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-03-10 18:21:24 -0800
committerSteve Kondik <steve@cyngn.com>2016-03-10 18:21:24 -0800
commit70d3f9f7afb90a0b6d1d3321ef80175ab3584719 (patch)
tree1e56f0951907c696f9513f1af463703b3a2ad883
parent6695cb542f99c7acc99ac84601885348b717f2d0 (diff)
parentf0c9628714bda31e58149bdc1d229a55df063121 (diff)
downloadandroid_hardware_qcom_wlan-staging/cm-13.0+r22.tar.gz
android_hardware_qcom_wlan-staging/cm-13.0+r22.tar.bz2
android_hardware_qcom_wlan-staging/cm-13.0+r22.zip
Android 6.0.1 release 22
-rw-r--r--qcwcn/wifi_hal/cpp_bindings.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/cpp_bindings.cpp b/qcwcn/wifi_hal/cpp_bindings.cpp
index 381d8c8..99fb26b 100644
--- a/qcwcn/wifi_hal/cpp_bindings.cpp
+++ b/qcwcn/wifi_hal/cpp_bindings.cpp
@@ -556,6 +556,9 @@ int WifiEvent::parse() {
}
int WifiRequest::create(int family, uint8_t cmd, int flags, int hdrlen) {
+
+ destroy();
+
mMsg = nlmsg_alloc();
if (mMsg != NULL) {
genlmsg_put(mMsg, /* pid = */ 0, /* seq = */ 0, family,