Fixed api_cmd_reading_packet().