[RAMEN9610-11182][9610][7885][7872][7570] wlbt: Logical Handling of Gscan Report...
authorMohit Ghuley <mohit.ghuley@samsung.com>
Fri, 21 Dec 2018 04:45:28 +0000 (10:15 +0530)
committerhskang <hs1218.kang@samsung.com>
Tue, 22 Jan 2019 13:14:57 +0000 (22:14 +0900)
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>
gscan.cpp

index 0b77503a12b1aefc26f50310ab8b14732937893d..d27d4727313c4d927cb470c6cf7e12a798610261 100755 (executable)
--- 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++;
             }
         }