added active_scan field for pending scans