Enhancement of ionizing radiation during a solar flare