Fix a crash in Broadcom's HAL
authorVinit Deshpande <vinitd@google.com>
Tue, 5 Aug 2014 22:35:33 +0000 (15:35 -0700)
committerVinit Deshpande <vinitd@google.com>
Tue, 5 Aug 2014 22:35:33 +0000 (15:35 -0700)
commit082cb621b1dd1ad150a747d5010fed0888ae416c
tree081d5fec61d4bd97325e09c46d216c8a321410df
parentd86e48bfb7ce3826d427510bff9b38a04f9d3afd
Fix a crash in Broadcom's HAL

Scan command registers for two events, but then unregisters only for one
leaving a dangling pointer which results in crashes.

Bug: 16820118

Change-Id: Ie5599a4928f3a122c3a3ef538db9ca31c7ca8a22
bcmdhd/wifi_hal/common.cpp
bcmdhd/wifi_hal/gscan.cpp