From ead8e626830bd8e8742f3e86de6e2c46773c1cc3 Mon Sep 17 00:00:00 2001 From: Eduardo Minguez Date: Thu, 5 Jun 2014 15:49:06 +0200 Subject: ifup-wireless: add support for wowlan Conflicts: sysconfig/network-scripts/ifup-wireless --- sysconfig/network-scripts/ifup-wireless | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysconfig/network-scripts') diff --git a/sysconfig/network-scripts/ifup-wireless b/sysconfig/network-scripts/ifup-wireless index 3b248cca..70e84a21 100755 --- a/sysconfig/network-scripts/ifup-wireless +++ b/sysconfig/network-scripts/ifup-wireless @@ -49,3 +49,8 @@ monitor) $IW dev "$DEVICE" set type monitor $IW dev "$DEVICE" set freq "$FREQ" esac + +if [ -n "$WOWLAN" ] ; then + PHYDEVICE=phy_wireless_device $DEVICE + iw phy $PHYDEVICE wowlan enable ${WOWLAN} +fi -- cgit v1.2.1