Ubuntu 10.10 wireless problems on eee 1000 netbook

I was having a problem where when I went  from AC power to battery, the wireless would disconnect, and would not reconnect until I rebooted. Looks like there is some problem with power management when going to battery more.

I overrode the script by doing

touch /etc/pm/power.d/wireless

and now I can go from AC to battery without losing my wireless connection. Not getting any of the power savings that was supposed to happen, but I do not feel like looking into it any more than that.