luci-mod-status: fix WPS button to wrong interface 4641/head
authorAnsuel Smith <ansuelsmth@gmail.com>
Sat, 5 Dec 2020 22:16:57 +0000 (23:16 +0100)
committerAnsuel Smith <ansuelsmth@gmail.com>
Sat, 5 Dec 2020 22:16:57 +0000 (23:16 +0100)
commit277ffef8aeddf269e7299ec2529d7063835be36e
tree378f7d0ddc11d081d7948b52573a023cdbe1dcf7
parent48d6b6ed12920ec473eb3a7ef79898221608e522
luci-mod-status: fix WPS button to wrong interface

Reset the WPS_button variable to correctly add the button to the enabled interface.

Fixes: #4625
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/60_wifi.js