summaryrefslogtreecommitdiffstats
path: root/bcmdhd/wifi_hal/wifi_hal.cpp
diff options
context:
space:
mode:
authorJerry Lee <jerrylee@broadcom.com>2015-07-13 13:37:58 -0700
committerxinhe <xinhe@google.com>2015-07-15 17:25:30 -0700
commit56deba26a624507fc2e0e6b134f8bd88d091a141 (patch)
tree121613e8c9d0e71a3186857f46b7dc88c8c36e05 /bcmdhd/wifi_hal/wifi_hal.cpp
parent10619e8c9ed541a6a31db45a758f96c9c94c7fb7 (diff)
downloadhardware_broadcom_wlan-56deba26a624507fc2e0e6b134f8bd88d091a141.tar.gz
hardware_broadcom_wlan-56deba26a624507fc2e0e6b134f8bd88d091a141.tar.bz2
hardware_broadcom_wlan-56deba26a624507fc2e0e6b134f8bd88d091a141.zip
Clean up bad command implementation
b/22349265 Change-Id: I98132e5083155de21ae241b3b3a6b8f9410d61ec Signed-off-by: Jerry Lee <jerrylee@broadcom.com>
Diffstat (limited to 'bcmdhd/wifi_hal/wifi_hal.cpp')
-rw-r--r--bcmdhd/wifi_hal/wifi_hal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/bcmdhd/wifi_hal/wifi_hal.cpp b/bcmdhd/wifi_hal/wifi_hal.cpp
index 8caa1d6..0a6384f 100644
--- a/bcmdhd/wifi_hal/wifi_hal.cpp
+++ b/bcmdhd/wifi_hal/wifi_hal.cpp
@@ -145,6 +145,7 @@ wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn)
fn->wifi_set_log_handler = wifi_set_log_handler;
fn->wifi_reset_log_handler = wifi_reset_log_handler;
fn->wifi_set_alert_handler = wifi_set_alert_handler;
+ fn->wifi_reset_alert_handler = wifi_reset_alert_handler;
fn->wifi_get_firmware_version = wifi_get_firmware_version;
fn->wifi_get_ring_buffers_status = wifi_get_ring_buffers_status;
fn->wifi_get_logger_supported_feature_set = wifi_get_logger_supported_feature_set;
@@ -299,7 +300,7 @@ void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler)
cmd_info *cmdi = &(info->cmd[bad_commands]);
WifiCommand *cmd = cmdi->cmd;
if (cmd != NULL) {
- ALOGE("Cancelling command %p:%s", cmd, cmd->getType());
+ ALOGD("Cancelling command %p:%s", cmd, cmd->getType());
pthread_mutex_unlock(&info->cb_lock);
cmd->cancel();
pthread_mutex_lock(&info->cb_lock);