ADV_MONITOR_STATE_OFFLOADED
monitor->state = ADV_MONITOR_STATE_OFFLOADED;
if (monitor->state == ADV_MONITOR_STATE_OFFLOADED)
if (monitor && monitor->state == ADV_MONITOR_STATE_OFFLOADED)