Following works for me for my Sony Vaio (even when enabling energy
saving option for ath9k driver). I collected the script information from
various sources - the last missing thing for my Vaio seemed to be the
timeout parameter. Since I added the timeout parameter it works:

case "$1" in

hibernate|suspend)
  nmcli nm sleep true
  sleep 1
  modprobe -rf ath9k
;;

thaw|resume)
  nmcli nm sleep true
  modprobe -rf ath9k
  nmcli nm sleep false --timeout 10
  modprobe ath9k
  killall wpa_supplicant
;;

*) exit $NA
;;
esac

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1286552

Title:
  No wifi after suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1286552/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to