AT&T Inc's second-quarter revenue beat Wall Street expectations and its customer growth improved in the first full quarter after it lost exclusive U.S. rights to sell Apple Inc iPhone.

The No. 2 U.S. mobile provider, which is seeking approval to buy T-Mobile USA for $39 billion, added 331,000 net subscribers in the quarter, compared with the average expectation for 91,000 from seven analysts contacted by Reuters.

Its net profit fell to $3.59 billion, or 60 cents per share, from $4 billion, or 67 cents per share, a year earlier. But excluding a Telmex Internacional transaction in the year-ago quarter, AT&T said that earnings would have been flat.

Revenue rose 2.2 percent to $31.5 billion, compared with Wall Street expectations for $31.3 billion, according to Thomson Reuters I/B/E/S.

Its shares were up 17 cents at $30.40 in premarket trading.

(Reporting by Sinead Carew; editing by Derek Caney)