summaryrefslogtreecommitdiffstats
path: root/bcmdhd/wifi_hal/cpp_bindings.cpp
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-03-10 18:19:50 -0800
committerSteve Kondik <steve@cyngn.com>2016-03-10 18:19:50 -0800
commit6636331092e620d0dba650d04bf19cedeb021785 (patch)
tree2daf13f10c70dc7413deeff50a2cb2c3a3d3d8e2 /bcmdhd/wifi_hal/cpp_bindings.cpp
parent33a76ddde2c0049b97e69df059adda30704be4c5 (diff)
parent3a30c034a9f319692c2ba131906e009eaa254817 (diff)
downloadhardware_broadcom_wlan-6636331092e620d0dba650d04bf19cedeb021785.zip
hardware_broadcom_wlan-6636331092e620d0dba650d04bf19cedeb021785.tar.gz
hardware_broadcom_wlan-6636331092e620d0dba650d04bf19cedeb021785.tar.bz2
Merge tag 'android-6.0.1_r22' of https://android.googlesource.com/platform/hardware/broadcom/wlan into cm-13.0
Android 6.0.1 release 22
Diffstat (limited to 'bcmdhd/wifi_hal/cpp_bindings.cpp')
-rw-r--r--bcmdhd/wifi_hal/cpp_bindings.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/bcmdhd/wifi_hal/cpp_bindings.cpp b/bcmdhd/wifi_hal/cpp_bindings.cpp
index 5b085d8..399199d 100644
--- a/bcmdhd/wifi_hal/cpp_bindings.cpp
+++ b/bcmdhd/wifi_hal/cpp_bindings.cpp
@@ -538,6 +538,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,