Enlarge / A customer looks at a Huawei smartphone in a Huawei store in Moscow. (credit: Sergei Karpukhin / TASS via Getty Images) A federal judge has slapped down a Huawei lawsuit that sought to overturn a ban on federal agencies buying Huawei telecommunications gear. Congress passed the legislation, part of the military's 2019 appropriations bill, out of concern that the Chinese government could infiltrate Huawei-based networks. Huawei had argued that the law was unconstitutional under the Constitution's ban on bills of attainder.