[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 <mohit.ghuley@samsung.com>
diff --git a/gscan.cpp b/gscan.cpp
index 0b77503..d27d472 100755
--- a/gscan.cpp
+++ b/gscan.cpp
@@ -356,7 +356,7 @@
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++;
}
}