HTC is suffering a bit of a problem that is similar to Apple's notorious 'Antennagate' scandal. That is, the design of the phone is physically not perfect and users are finding poor performance and are having to squeeze the phone to restore proper functioning. let's just hope HTC doesn't tell users to just hold the phone differently.
It sounds as thought it is a loose hardware connection, so this means no quick fix for HTC through software. HTC as done the proper thing, as opposed to Apple, and come out an dadmitted that there is a problem on some One X international versions. The problem does not affect the US One X or One XL. HTC:
After investigating isolated reports of WiFi connectivity issues in the HTC One X, we have identified a fix that strengthens the area of the phone around the WiFi antennae connection points. While many customers have not experienced any problems with signal strength, we have taken immediate steps to implement a solution in our production process to prevent this issue from happening in the future
Thankfully HTC has handled this much differently than Apple did. Had they done what Apple had done, there would be a lot more fallout than there will be by them admitting responsibility. Users who experience the issues described above are encouraged to contact HTC's customer support or return the device to the place of purchase.
Further Reading: Read and find more Mobile Devices, Tablets & Phones news at our Mobile Devices, Tablets & Phones news index page.