summaryrefslogtreecommitdiffstats
path: root/bcmdhd/wifi_hal
diff options
context:
space:
mode:
Diffstat (limited to 'bcmdhd/wifi_hal')
-rw-r--r--bcmdhd/wifi_hal/wifi_logger.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/bcmdhd/wifi_hal/wifi_logger.cpp b/bcmdhd/wifi_hal/wifi_logger.cpp
index b401429..e93ae97 100644
--- a/bcmdhd/wifi_hal/wifi_logger.cpp
+++ b/bcmdhd/wifi_hal/wifi_logger.cpp
@@ -452,6 +452,14 @@ public:
return WIFI_SUCCESS;
}
+ virtual int cancel() {
+ /* TODO: send a command to driver to stop generating logging events */
+
+ /* unregister event handler */
+ unregisterVendorHandler(GOOGLE_OUI, GOOGLE_DEBUG_RING_EVENT);
+ return WIFI_SUCCESS;
+ }
+
virtual int handleEvent(WifiEvent& event) {
char *buffer = NULL;
int buffer_size = 0;