Iphone 5 wifi won't connect, says password is incorrect though it is not
I updated my iPhone 5 to the new iOS 8... Before this it connected to the router's wifi connection, but then afterwards it repeats the message that the password is incorrect. I have typed the password correctly, reset the network, disabled airdrop with Airfried, rebooted, and restarted the router. The phone will connect for an hour after the router is reset, accept the password, but then drop the wifi connection and then say the password is incorrect. So, I know it can connect, but the connection is lost and I repeat the cycle of having to restart the router every few hours. I'd like to make a permenet fix to this problem. Please help
iPhone 5c, iOS 8.1.2