looks like something relates to the driver, you can try uninstall the driver file then re-install your original driver. thanks ~
Error code 31 is driver problem. The updated driver you used may not be compatible with your wireless card. Try uninstall the wireless card and look for appropriate driver from the your notebook manufacturer's website. Search using your notebook model. hope this helps!