3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-19 11:09:25 +01:00

auto-t: Add functions to hostapd_cli

This commit is contained in:
Tim Kourt 2016-10-06 11:06:14 -07:00 committed by Denis Kenzior
parent d8cb8d7810
commit 91059e68cd

View File

@ -6,3 +6,11 @@ class HostapdCLI:
@staticmethod
def wps_push_button():
os.system('hostapd_cli wps_pbc')
@staticmethod
def deauthenticate(client_address):
os.system('hostapd_cli deauthenticate ' + client_address)
@staticmethod
def kill_all():
os.system('killall hostapd')