The Intel® Centrino® Wireless-N 2230 is supported by Windows*10 own inbox drivers. We recommend that you contact your computer manufacturer first to see if they have any updates: Computer Manufacturer Support - Often, Bad Gateway errors are caused by issues between servers online that one has no control over.
Note: Microsoft* IIS web servers often give more information about the cause of a particular 502 Bad Gateway error. Please access this link for further information: The HTTP status code in IIS 7.0, IIS 7.5, and IIS 8.0
Now, regarding your wireless adapter, are you able to connect to your router and navigate, open applications that needs internet connection?