E-mail the story: Qualcomm posts 2nd-qtr loss on legal settlement