/* BFA log set log level for all aen sub-modules */
bfa_status_t bfa_log_set_level_aen(struct bfa_log_mod_s *log_mod, enum bfa_log_severity log_level)
/* BFA log set log level for all aen sub-modules */
bfa_status_t bfa_log_set_level_aen(struct bfa_log_mod_s *log_mod, enum bfa_log_severity log_level)
{
	int mod_id = BFA_LOG_AEN_MIN + 1;
	if (log_mod) {
		for (; mod_id <= BFA_LOG_AEN_MAX; mod_id++)
			log_mod->log_level[mod_id] = log_level;
	} else {
		for (; mod_id <= BFA_LOG_AEN_MAX; mod_id++)
			bfa_log_info[mod_id].level = log_level;
	}
	return BFA_STATUS_OK;
}