Note that even 170mA is not enough. Although the normal average current draw is about 80mA the esp8266 can draw bursts of about 400mA. It is recommended to use a power source that can supply 500mA and it is also good practice to add a decent reservoir capacitor close to the esp8266 module to smooth out the bursts of current.