Hello and welcome to Tom's Hardware Forums.
Go into Control Panel>System>Hardware (if XP) >Device Manager, find the network adapters and highlight the wireless connection then right click it and go to Properties. Under the Advanced tab, there shol dbe an option to turn off power saving. That should mean the power to th3e device should restart as son as the system wakes up.
If the wireless device is a USB dongle, the setting will be under the Power Management tab.