Create a systemd service file: /etc/systemd/system/net-resume.service
[Unit]
Description=Local system resume actions
After=suspend.target
[Service]
Type=oneshot
ExecStart=/bin/systemctl restart network-manager.service
[Install]
WantedBy=suspend.target
Then run the command:
sudo systemctl enable net-resume.service