I found a better workaround which work perfectly. The idea is to stop NetworkManager before removing zd1211rw module, and to restart it after the module is loaded again. Otherwise NM probably tried to disconnected the wireless network whereas the module tried to become inactive.
To use it, just put attached file in /etc/pm/sleep.d/ and give it the execution permission. ** Attachment added: "50zd1211" http://launchpadlibrarian.net/18633816/50zd1211 -- [2.6.27] zd1211rw prevent the computer to suspend https://bugs.launchpad.net/bugs/274734 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
