Fix couple of issues with unregistering event handlers
authorVinit Deshpande <vinitd@google.com>
Thu, 16 Jul 2015 18:30:21 +0000 (11:30 -0700)
committerVinit Deshpande <vinitd@google.com>
Thu, 16 Jul 2015 19:31:06 +0000 (12:31 -0700)
commitf02f545dd490b658110fb837f4905050b3ed9c52
tree6b89d7f4b286202af149709c5a7af4880b329880
parent56deba26a624507fc2e0e6b134f8bd88d091a141
Fix couple of issues with unregistering event handlers

First, on Hammerhead, we don't unregister GOOGLE_DEBUG_RING_EVENT
if driver command fails - that's not correct.

Also fixed a one-off error in unregistering event handlers.

Bug: 22523219

Change-Id: Idaf27bc14f13d21e18cec512db8f8c3590895c66
bcmdhd/wifi_hal/common.cpp
bcmdhd/wifi_hal/wifi_logger.cpp