+ if (it2.get_type() == GSCAN_ATTRIBUTE_SCAN_ID) {\r
+ scan_id = it2.get_u32();\r
+ ALOGD("retrieved scan_id : 0x%0x", scan_id);\r
+ } else if (it2.get_type() == GSCAN_ATTRIBUTE_SCAN_FLAGS) {\r
+ flags = it2.get_u8();\r
+ ALOGD("retrieved scan_flags : 0x%0x", flags);\r
+ } else if (it2.get_type() == GSCAN_ATTRIBUTE_NUM_OF_RESULTS) {\r
+ num = it2.get_u32();\r
+ ALOGD("retrieved num_results: %d", num);\r
+ } else if (it2.get_type() == GSCAN_ATTRIBUTE_SCAN_RESULTS) {\r
+ if (mRetrieved >= mMax) {\r
+ ALOGW("Stored %d scans, ignoring excess results", mRetrieved);\r
+ break;\r
+ }\r