Consolidated some power management functions; fixed a bug in status reports where SR_VERBOSE mode created filtered reports

This commit is contained in:
Alden Hart
2016-09-18 12:15:13 -04:00
parent d698a872bf
commit bd01ee779b
3 changed files with 19 additions and 33 deletions
Executable → Regular
+2 -1
View File
@@ -296,7 +296,8 @@ stat_t sr_status_report_callback() // called by controller dispatcher
}
sr.status_report_request = SR_OFF;
if (sr.status_report_request == SR_VERBOSE) {
if ((sr.status_report_request == SR_VERBOSE) ||
(sr.status_report_verbosity == SR_VERBOSE)) {
_populate_unfiltered_status_report();
} else {
if (_populate_filtered_status_report() == false) { // no new data