The Post and Courier of Charleston reported that U.S. District Judge Cameron McGowan Currie dismissed the lawsuit by Robert Johnson, who was a captain at the Lee Correctional Institution in Bishopville.
Johnson was shot six times and wounded at his home in Sumter in 2010 in an attack that prosecutors say was orchestrated by inmates using illegal cellphones in prison. One man is awaiting trial.
Attorney Robert Parker says the Johnsons will ask the 4th U.S. Circuit Court of Appeals to reinstate the lawsuit.
Parker said cellphone providers could jam cellphone use by inmates without interfering with other communications systems.
The Johnsons had sued 20 cellphone companies and cellular tower owners.