summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinit Deshpande <vinitd@google.com>2015-08-13 16:31:46 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-08-13 16:31:46 +0000
commitaa6ab0f10743dbe6dca28a3ace8ba73b9ee9b0c5 (patch)
treeae07c59fa69c592084c51d5bfb8e49283a8d491c
parent768bccf40809bcbfa5b892f48f7f1ce864fb7065 (diff)
parent2c9d7bbf80b19c3881229540d1ef05669bd27118 (diff)
downloadhardware_broadcom_wlan-aa6ab0f10743dbe6dca28a3ace8ba73b9ee9b0c5.zip
hardware_broadcom_wlan-aa6ab0f10743dbe6dca28a3ace8ba73b9ee9b0c5.tar.gz
hardware_broadcom_wlan-aa6ab0f10743dbe6dca28a3ace8ba73b9ee9b0c5.tar.bz2
am 2c9d7bbf: Merge "Fix cleanup of COMPLETE_SCAN event" into mnc-dev
* commit '2c9d7bbf80b19c3881229540d1ef05669bd27118': Fix cleanup of COMPLETE_SCAN event
-rw-r--r--bcmdhd/wifi_hal/gscan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcmdhd/wifi_hal/gscan.cpp b/bcmdhd/wifi_hal/gscan.cpp
index 7b0f821..8a21a0d 100644
--- a/bcmdhd/wifi_hal/gscan.cpp
+++ b/bcmdhd/wifi_hal/gscan.cpp
@@ -662,7 +662,7 @@ public:
result = requestResponse(request);
if (result != WIFI_SUCCESS) {
ALOGE("failed to start scan; result = %d", result);
- registerVendorHandler(GOOGLE_OUI, GSCAN_EVENT_COMPLETE_SCAN);
+ unregisterVendorHandler(GOOGLE_OUI, GSCAN_EVENT_COMPLETE_SCAN);
unregisterVendorHandler(GOOGLE_OUI, GSCAN_EVENT_SCAN_RESULTS_AVAILABLE);
return result;
}