I finally worked around my problem by adding a script in /lib/systemd
/system-sleep/:

    $ cat /lib/systemd/system-sleep/12_wifi
    #!/bin/bash
    
    case $1 in
      "post")
        # disable/enable wifi
        rfkill block wifi; rfkill unblock wifi
        logger "reenabled wifi"
      ;;
    esac

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

Title:
  WiFi malfunction after suspend & resume stress - sudo wpa_cli scan
  required to fix it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/1585863/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to