]> git.ipfire.org Git - people/stevee/network.git/commitdiff
network: Show when a PHY supports ACS
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Mar 2019 17:46:25 +0000 (18:46 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Mar 2019 17:46:25 +0000 (18:46 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/network

index de2e663e11090756c67bd74eb047ee1b98186e68..3535133d586434695fcde2689da6bd68734559e7 100644 (file)
@@ -279,6 +279,8 @@ cli_device_status_phy() {
 
        cli_headline 2 "Features"
 
+       cli_print_fmt1 2 "Automatic Channel Selection" \
+               "$(phy_supports_acs "${phy}" && print "Supported" || print "Not Supported")"
        cli_print_fmt1 2 "DFS" \
                "$(phy_supports_dfs "${phy}" && print "Supported" || print "Not Supported")"