From 3ba88d7766e2bc57b2e71149223dd3fa95745d40 Mon Sep 17 00:00:00 2001 From: Mohit Ghuley Date: Fri, 21 Dec 2018 10:15:28 +0530 Subject: [PATCH] [RAMEN9610-11182][9610][7885][7872][7570] wlbt: Logical Handling of Gscan Report Events. Since Gscan can support more than one report events, we need to handle the report events logically in Wifi HAL. Change-Id: If3565f509e37cb1a83cae1cf603ab873d0c32dd6 SCSC-Bug-Id: SSB-47781 Signed-off-by: Mohit Ghuley --- gscan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gscan.cpp b/gscan.cpp index 0b77503..d27d472 100755 --- a/gscan.cpp +++ b/gscan.cpp @@ -356,7 +356,7 @@ public: int nBuckets = 0; for (int i = 0; i < mParams->num_buckets; i++) { - if (mParams->buckets[i].report_events == 2) { + if (mParams->buckets[i].report_events & REPORT_EVENTS_FULL_RESULTS) { nBuckets++; } } -- 2.20.1