From 0e9ff6031c0e6f67e55883a43f7223f6a24ef3b1 Mon Sep 17 00:00:00 2001 From: Thomas Jack Date: Sun, 3 Nov 2024 15:46:01 -0500 Subject: [PATCH] Clarify comment regarding usage of VintageNet.get_configuration/1 --- lib/vintage_net_wifi.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vintage_net_wifi.ex b/lib/vintage_net_wifi.ex index 564a0df..ef1d3f3 100644 --- a/lib/vintage_net_wifi.ex +++ b/lib/vintage_net_wifi.ex @@ -1067,10 +1067,10 @@ defmodule VintageNetWiFi do Returns `false` if the configuration isn't a VintageNetWiFi one or if no networks were specified. - To test an `ifname` has a network configured, run: + To test if an `ifname` has a network configured, run: ``` - VintageNet.get_configuration() |> network_configured?() + VintageNet.get_configuration(ifname) |> network_configured?() ``` """ @spec network_configured?(map()) :: boolean()