From a546df7a2e7f3f3163f9acdb77a18755cbe65f3f Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 6 Sep 2014 22:15:17 +0200 Subject: [PATCH] wireless-ap: Bring up hostapd, too when device is plugged in --- src/hooks/ports/wireless-ap | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/hooks/ports/wireless-ap b/src/hooks/ports/wireless-ap index ab84b1f4..8a0f81c8 100644 --- a/src/hooks/ports/wireless-ap +++ b/src/hooks/ports/wireless-ap @@ -203,10 +203,7 @@ function hook_hotplug() { # Check if the phy is the same we have # read from the configuration file. if [ "${PHY}" = "${phy_address}" ]; then - wireless_create ${port} --phy="${phy_address}" --type="ap" \ - --address="${ADDRESS}" - - exit ${EXIT_OK} + hook_up "${port}" fi exit ${EXIT_NOT_HANDLED} -- 2.47.2