Skip to content
Commit 09ac96ed authored by Wang805447391's avatar Wang805447391 Committed by Jo-Philipp Wich
Browse files

luci-base: support disconnecting (deauthenticating) wireless clients



Add a button to each row in the wireless assoclist table to allow
disconnecting clients using the ubus del_client method if the underlying
radio interface supports it.

Ref: https://github.com/openwrt/luci/pull/2271
Submitted-by: default avatarWang805447391 <805447391@qq.com>
[move deauth function to luci-base next to the existing assoclist function,
 require post security, fix parameter check condition, hide button if not
 supported by the radio, disable button after call, squash commits, fix
 whitespace, reword subject, add commit message]
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 8aeb78d1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment