summaryrefslogtreecommitdiff
path: root/docs/library/network.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/network.rst')
-rw-r--r--docs/library/network.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/library/network.rst b/docs/library/network.rst
index f0c0b3fc2..9a37caf1a 100644
--- a/docs/library/network.rst
+++ b/docs/library/network.rst
@@ -269,6 +269,12 @@ For example::
Methods
-------
+ .. method:: wlan.active([is_active])
+
+ Activate ("up") or deactivate ("down") network interface, if boolean
+ argument is passed. Otherwise, query current state if no argument is
+ provided. Most other methods require active interface.
+
.. method:: wlan.connect(ssid, password)
Connect to the specified wireless network, using the specified password.