fix suspend in ubuntu

My ubuntu freezes a few seconds after resume after a second suspend(not the first suspend, i donna know why). Deeply research in the problem, i find it is caused by wireless driver iwl4965.

$ vim /etc/pm/sleep.d/01iwl4965

#!/bin/bash
case $1 in
hibernate)
rmmod iwl4965;
;;
suspend)
rmmod iwl4965;
;;
thaw)
modprobe iwl4965;
;;
resume)
modprobe iwl4965;
;;
*)
;;
esac

ref: http://en.opensuse.org/Pm-utils