aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsysconfig/network-scripts/ifup-wireless5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-wireless b/sysconfig/network-scripts/ifup-wireless
index e8d52f6f..0628860d 100755
--- a/sysconfig/network-scripts/ifup-wireless
+++ b/sysconfig/network-scripts/ifup-wireless
@@ -52,3 +52,8 @@ monitor)
fi
;;
esac
+
+if [ -n "$WOWLAN" ] ; then
+ PHYDEVICE=phy_wireless_device $DEVICE
+ iw phy $PHYDEVICE wowlan enable ${WOWLAN}
+fi