Lion disconnects Wifi after Inactivity
I've used the App Store to upgrade from Snow Leopard to Lion, when I was on Snow Leopard I was able to SSH into my iMac basically whenever it was on - I blank the screen when it's not in use (not in sleep mode). Now with Lion, whenever I blank the screen (using hot corners) I only have a limited period of time before the wifi on the iMac disconnects and I think it goes to sleep.
I've made sure that I've set "Computer Sleep" to never, this should ensure the iMac does not go to sleep, I've looked through the system preferences for Network and Energy Saver looking for an option that would prevent Lion from turning the wifi off. So I think the problem maybe that either Lion is ignoring my setting for not going to sleep, or it's just turning the wifi off when it thinks its not being used.
Does anyone know how to stop Lion from doing this?
iMac, Mac OS X (10.7)