Results of trial could help patients with chronic lung condition