]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/functions/functions.phy
Make the wireless regulatory domain a global configuration option
[people/ms/network.git] / src / functions / functions.phy
index f6b749843ca469ba06d179c238a493d2fd265cb4..366eccc2c8245ca4f00c51bcf6a4d676e70fb32a 100644 (file)
@@ -46,7 +46,6 @@ function phy_list() {
 
 function phy_get() {
        local info=${1}
-
        local phy
 
        if listmatch ${info} $(phy_list); then
@@ -65,6 +64,8 @@ function phy_get() {
                done
        fi
 
+       log DEBUG "Searching for phy = ${info}, found ${phy:-none}"
+
        if [ -z "${phy}" ]; then
                return ${EXIT_ERROR}
        fi