Computer Settings Not Matching Network Requirements

After upgrading my router WRT160NL to the latest DD-WRT Firmware (1614), I was unable to connect my laptop to the router using wireless adapter. No matter what I did I was still getting the error The settings saved on this computer for the network do not match the requirements of the network I matched the security settings on the router and updated this on the laptop so that they were the same but the error would not go away.

Installing DD-WRT on LinkSys WRT160NL

I bought a new router LinkSys WRT160NL to replace an Alvarion GW5051 provided by my internet service provider. The main reason replacing the router was with the intention of installing third party firmware which provided more functionality. Installing third party firmware was not possible with router provided by the service provider. For the firmware, I had a choice between TomatoUSB or DD-WRT. However, after a bit of research I realised that LinkSys WRT160NL was not on TomatoUSB compatibility list and therefore settled on DD-WRT.