According to Apple’s release notes, the update:
- resolves a sporadic issue that may cause iPhone (or iPod touch) to not wake from sleep
- fixes an intermittent issue that may interrupt cellular network services until restart
- fixes a bug that could cause occasional crashes during video streaming.
iPhone OS 3.1.2 is available now for both iPhone and iPod touch users through the update feature in iTunes.