OSDN Git Service

Rename WIFI_SCAN_DISABLED event to WIFI_SCAN_FAILED
authorMitchell Wills <mwills@google.com>
Fri, 29 Jan 2016 05:10:41 +0000 (21:10 -0800)
committerMitchell Wills <mwills@google.com>
Tue, 9 Feb 2016 19:40:48 +0000 (11:40 -0800)
disabled was not very clear as to the actual meaning of the event and
left the implication that the scan could be reenabled.

Change-Id: I3f53b13a958cd35e93fde7bf9690d84744ffe63a

include/hardware_legacy/gscan.h

index 0c22748..b89ca51 100644 (file)
@@ -61,7 +61,7 @@ typedef enum {
                                    // report_threshold_num_scans is reached.
     WIFI_SCAN_THRESHOLD_PERCENT,   // can be reported when REPORT_EVENTS_EACH_SCAN is not set and
                                    // report_threshold_percent is reached.
-    WIFI_SCAN_DISABLED,            // reported when currently executing gscans are disabled.
+    WIFI_SCAN_FAILED,              // reported when currently executing gscans have failed.
                                    // start_gscan will need to be called again in order to continue
                                    // scanning. This is intended to indicate abnormal scan
                                    // terminations (not those as a result of stop_gscan).