Changed fw_core to pass length when caled set_current_packet