diff options
author | Jessica Wagantall <jwagantall@cyngn.com> | 2016-02-01 16:16:59 -0800 |
---|---|---|
committer | Jessica Wagantall <jwagantall@cyngn.com> | 2016-02-01 16:44:51 -0800 |
commit | 33a76ddde2c0049b97e69df059adda30704be4c5 (patch) | |
tree | 6dd20e95f82870642a05b05540957d6294922be8 | |
parent | 4b218b0c094dcdd1b9b09740f5bf7042fa0b87ea (diff) | |
parent | 3e1585b455691bfec928788b0e33a5eb439fc309 (diff) | |
download | hardware_broadcom_wlan-33a76ddde2c0049b97e69df059adda30704be4c5.zip hardware_broadcom_wlan-33a76ddde2c0049b97e69df059adda30704be4c5.tar.gz hardware_broadcom_wlan-33a76ddde2c0049b97e69df059adda30704be4c5.tar.bz2 |
Merge tag 'android-6.0.1_r13' into 13.0
Android 6.0.1 release 13
Ticket: CYNGNOS-1522
Change-Id: I576ba092f3b58180500a67f35b8b2a10f620b1f0
-rw-r--r-- | bcmdhd/wifi_hal/wifi_hal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bcmdhd/wifi_hal/wifi_hal.cpp b/bcmdhd/wifi_hal/wifi_hal.cpp index 28f5565..fdb7d7b 100644 --- a/bcmdhd/wifi_hal/wifi_hal.cpp +++ b/bcmdhd/wifi_hal/wifi_hal.cpp @@ -335,12 +335,12 @@ void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) pthread_mutex_unlock(&info->cb_lock); cmd->cancel(); pthread_mutex_lock(&info->cb_lock); - /* release reference added when command is saved */ - cmd->releaseRef(); if (num_cmd == info->num_cmd) { ALOGI("Cancelling command %p:%s did not work", cmd, (cmd ? cmd->getType(): "")); bad_commands++; } + /* release reference added when command is saved */ + cmd->releaseRef(); } } |